From: John Hodge (sonata) Date: Sat, 19 Jan 2013 11:36:51 +0000 (+0800) Subject: Usermode/axwin3 - (minor) Use SEEK_SET instead of literal '1' X-Git-Tag: rel0.15~598^2~45 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=dbc632e4a87c94ba3ee77408932186d13e45ce4e;p=tpg%2Facess2.git Usermode/axwin3 - (minor) Use SEEK_SET instead of literal '1' --- diff --git a/Usermode/Applications/axwin3_src/WM/video.c b/Usermode/Applications/axwin3_src/WM/video.c index 60f2155e..1b9ffaba 100644 --- a/Usermode/Applications/axwin3_src/WM/video.c +++ b/Usermode/Applications/axwin3_src/WM/video.c @@ -87,7 +87,7 @@ void Video_Update(void) _SysDebug("Video_Update - Updating lines %i to %i (0x%x+0x%x px)", giVideo_FirstDirtyLine, giVideo_LastDirtyLine, ofs, size); - _SysSeek(giTerminalFD, ofs*4, 1); + _SysSeek(giTerminalFD, ofs*4, SEEK_SET); _SysDebug("Video_Update - Sending FD %i %p 0x%x", giTerminalFD, gpScreenBuffer+ofs, size*4); _SysWrite(giTerminalFD, gpScreenBuffer+ofs, size*4); _SysDebug("Video_Update - Done");