diff options
author | scuri <scuri> | 2010-06-16 21:09:54 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-16 21:09:54 +0000 |
commit | 483f59d3a55720c8c140aef863f4d34a0d90cca8 (patch) | |
tree | 914494291b1870c2b50e7c252c156c91133e9a62 /src/drv/cgm.c | |
parent | 72857b1207600b10bd73e9b1fee479438aae3ac9 (diff) |
*** empty log message ***
Diffstat (limited to 'src/drv/cgm.c')
-rw-r--r-- | src/drv/cgm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drv/cgm.c b/src/drv/cgm.c index e86baaf..ea4d930 100644 --- a/src/drv/cgm.c +++ b/src/drv/cgm.c @@ -743,7 +743,7 @@ static void cgmb_s ( CGM *cgm, const char *s, int len ) else cgmb_putu8(cgm,l); - for ( i=0; i<len; s++ ) + for ( i=0; i<l; i++, s++ ) { if ( (i + bc) == 32766 ) { @@ -756,7 +756,7 @@ static void cgmb_s ( CGM *cgm, const char *s, int len ) else cgmb_putu16 ( cgm, l ); } - cgmb_putc ( cgm, s[i] ); + cgmb_putc ( cgm, *s ); } } |