[Kst] extragear/graphics/kst/src/datasources/dirfile
Barth Netterfield
netterfield at physics.utoronto.ca
Wed Mar 1 22:00:41 CET 2006
I thought that getdata wasn't supposed to change error_code if there was no
error.... so that you can chain several calls and just check at the end.
cbn
On March 1, 2006 03:57 pm, George Staikos wrote:
> 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);
> }
> }
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list