From dbc632e4a87c94ba3ee77408932186d13e45ce4e Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Sat, 19 Jan 2013 19:36:51 +0800 Subject: [PATCH] Usermode/axwin3 - (minor) Use SEEK_SET instead of literal '1' --- Usermode/Applications/axwin3_src/WM/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.20.1