[Kst] kdeextragear-2/kst/kst/datasources/ascii
Matthew D Truch
matt at truch.net
Tue Apr 5 05:20:12 CEST 2005
> --- kdeextragear-2/kst/kst/datasources/ascii/ascii.cpp #1.37:1.38
> @@ -261,5 +261,5 @@ bool AsciiSource::isValidField(const QSt
> field.toUInt(&ok);
>
> - return ok;
> + return ok && fieldList().contains(field);
> }
>
>
Doesn't && short-circuit left to right, so the
fieldList().contains(field) will never be executed, or does return
'return' false?
--
"It is now later than it was before."
--------------------------
Matthew Truch
Department of Physics
Brown University
matt at truch.net
http://matt.truch.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20050405/65fa0caf/attachment.pgp
More information about the Kst
mailing list