comparison tools/libgfx.c @ 2083:feed844a5ae1

Return DMERR_OK where appropriate instead of 0.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Dec 2018 15:16:06 +0200
parents a0a6f5a3fbbf
children 9d6c30c071ed
comparison
equal deleted inserted replaced
2082:a0a6f5a3fbbf 2083:feed844a5ae1
57 return DMERR_NULLPTR; 57 return DMERR_NULLPTR;
58 58
59 if (ctx->outBitCount != 8) 59 if (ctx->outBitCount != 8)
60 dmPutBits(ctx, 0, ctx->outBitCount); 60 dmPutBits(ctx, 0, ctx->outBitCount);
61 61
62 return 0; 62 return DMERR_OK;
63 } 63 }
64 64
65 65
66 static BOOL dmPutByteFILE(DMBitStreamContext *ctx, const Uint8 val) 66 static BOOL dmPutByteFILE(DMBitStreamContext *ctx, const Uint8 val)
67 { 67 {