[Kst] extragear/graphics/kst/src/datasources/dirfile

George Staikos staikos at kde.org
Wed Mar 1 21:57:38 CET 2006


SVN commit 514898 by staikos:

Patch from Eli to fix GetFormat returning an error when there wasn't one.  This
applies when the cache is used.  Ok for backport?


 M  +1 -0      getdata.c  


--- trunk/extragear/graphics/kst/src/datasources/dirfile/getdata.c #514897:514898
@@ -426,6 +426,7 @@
   for (i_format=0; i_format<Formats.n; i_format++) {
     if (strncmp(filedir,
           Formats.F[i_format].FileDirName, MAX_FILENAME_LENGTH) == 0) {
+      *error_code = GD_E_OK;
       return(Formats.F + i_format);
     }
   }


More information about the Kst mailing list