Usermode/axwin3 - (minor) Use SEEK_SET instead of literal '1'
authorJohn Hodge (sonata) <[email protected]>
Sat, 19 Jan 2013 11:36:51 +0000 (19:36 +0800)
committerJohn Hodge (sonata) <[email protected]>
Sat, 19 Jan 2013 11:36:51 +0000 (19:36 +0800)
Usermode/Applications/axwin3_src/WM/video.c

index 60f2155..1b9ffab 100644 (file)
@@ -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");

UCC git Repository :: git.ucc.asn.au