# HG changeset patch # User Matti Hamalainen # Date 1530116016 -10800 # Node ID ee9bbf891352afddcdd420444213ab1fd2c84f62 # Parent be7492a121f0c4a167c3f625aa656dafe51bb03a Cosmetics. diff -r be7492a121f0 -r ee9bbf891352 tools/libgfx.c --- a/tools/libgfx.c Wed Jun 27 19:13:24 2018 +0300 +++ b/tools/libgfx.c Wed Jun 27 19:13:36 2018 +0300 @@ -1995,6 +1995,7 @@ if (!dmf_write_byte(fp, tmp) || !dmf_write_byte(fp, data)) return FALSE; + *r_count = 0; } *l_offs = offs; diff -r be7492a121f0 -r ee9bbf891352 tools/libgfx.h --- a/tools/libgfx.h Wed Jun 27 19:13:24 2018 +0300 +++ b/tools/libgfx.h Wed Jun 27 19:13:36 2018 +0300 @@ -160,7 +160,6 @@ int dmInitBitStreamFILE(DMBitStreamContext *ctx, DMResource *fp); - #ifdef __cplusplus } #endif