summaryrefslogtreecommitdiff
path: root/src/drv/cdcgm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drv/cdcgm.c')
-rw-r--r--src/drv/cdcgm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drv/cdcgm.c b/src/drv/cdcgm.c
index 3049818..ab47c1e 100644
--- a/src/drv/cdcgm.c
+++ b/src/drv/cdcgm.c
@@ -183,6 +183,8 @@ static void cddeactivate(cdCtxCanvas *ctxcanvas)
static void cdflush(cdCtxCanvas *ctxcanvas)
{
long pt;
+
+ fflush(ctxcanvas->cgm->file);
pt = ftell ( ctxcanvas->cgm->file );
fseek ( ctxcanvas->cgm->file, ctxcanvas->point, SEEK_SET );