pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XMLhelper::parse_bool needed?


From: Neil Hotmail
Subject: XMLhelper::parse_bool needed?
Date: Fri, 11 Oct 2002 20:05:28 +0100

Hi

In surface_background_data.cxx, line 115:
   stretch_x = XMLhelper::parse_float(doc, cur);
stretch_x is a bool, but parse_float returns a float, is this intentional?
Would it not make more sense to use parse_int as this is (or should be) a
simpler and quicker function, and integers are quicker than floats. Another
alternative would be to add a specific parse_bool statement.

Ginge





reply via email to

[Prev in Thread] Current Thread [Next in Thread]