[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegraphics/kfile-plugins/xbm
From:       Dirk Mueller <mueller () kde ! org>
Date:       2003-12-15 19:38:49
[Download RAW message or body]

CVS commit by mueller: 

fix readability


  M +2 -2      kfile_xbm.cpp   1.7


--- kdegraphics/kfile-plugins/xbm/kfile_xbm.cpp  #1.6:1.7
@@ -109,9 +109,9 @@ bool KXbmPlugin::readInfo( KFileMetaInfo
 
     // read the first line
-    file.readLine(linebuf, 1000);
+    file.readLine(linebuf, sizeof( linebuf ));
     uint32_t width = xbm_processLine(linebuf);
 
     // read the 2nd line
-    file.readLine(linebuf, 1000);
+    file.readLine(linebuf, sizeof( linebuf ));
     uint32_t height = xbm_processLine(linebuf);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic