2
0
Эх сурвалжийг харах

(#4) Try to print Graphics Control Block error to stderr

rexim 5 жил өмнө
parent
commit
335b16ce00

+ 1 - 1
src/vodus_emotes.cpp

@@ -20,7 +20,7 @@ struct Gif_Animat
             index = (index + 1) % file->ImageCount;
             index = (index + 1) % file->ImageCount;
             int ok = DGifSavedExtensionToGCB(file, index, &gcb);
             int ok = DGifSavedExtensionToGCB(file, index, &gcb);
             if (!ok) {
             if (!ok) {
-                println(stdout, "[ERROR] Could not retrieve Graphics Control Block from `", file_path, "`");
+                println(stderr, "[ERROR] Could not retrieve Graphics Control Block from `", file_path, "`");
                 abort();
                 abort();
             }
             }
             delay_time = gcb.DelayTime + delay_time;
             delay_time = gcb.DelayTime + delay_time;