Commit b8fb1350 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

fixed error when the debug code is active

parent aa4e10d4
......@@ -777,7 +777,10 @@ gth_image_preloader_load (GthImagePreloader *self,
va_list args;
#ifdef DEBUG_PRELOADER
g_print ("request %s @%d\n", g_file_get_uri (requested->file), requested_size);
if (requested != NULL)
g_print ("request %s @%d\n", g_file_get_uri (requested->file), requested_size);
else
g_print ("request modified image @%d\n", requested_size);
#endif
request = load_request_new (self);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment