aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index b46183f..9519e77 100644
--- a/src/main.c
+++ b/src/main.c
@@ -205,9 +205,11 @@ int doredraw(struct image **i){
setaspect((*i)->bufwidth, (*i)->bufheight);
(*i)->buf = malloc(3 * (*i)->bufwidth * (*i)->bufheight);
+ TDEBUG_START
if((*i)->fmt->read(*i)){
fprintf(stderr, "read error!\n");
}
+ TDEBUG_END("read")
(*i)->fmt->close(*i);
return 1;
}else if(width && height){