|
From: | grumbel |
Subject: | [Pingus-CVS] CVS: Games/Pingus/src/input controller.cxx,1.22,1.23 |
Date: | 11 Sep 2002 13:16:47 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/input In directory dark:/tmp/cvs-serv10293/input Modified Files: controller.cxx Log Message: - fixed incorrect false check Index: controller.cxx =================================================================== RCS file: /usr/local/cvsroot/Games/Pingus/src/input/controller.cxx,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- controller.cxx 10 Sep 2002 21:03:32 -0000 1.22 +++ controller.cxx 11 Sep 2002 13:16:45 -0000 1.23 @@ -54,11 +54,11 @@ xmlNodePtr cur = doc->ROOT; - if (!cur || XMLhelper::equal_str(cur->name, "pingus-controller") != 0) + if (!cur || !XMLhelper::equal_str(cur->name, "pingus-controller")) PingusError::raise("Controller: invalid config file <" + configfile + ">"); cur = XMLhelper::skip_blank(cur->children); - if (!cur || XMLhelper::equal_str(cur->name, "controller-config") != 0) + if (!cur || !XMLhelper::equal_str(cur->name, "controller-config")) PingusError::raise("Controller: invalid config file <" + configfile + ">"); cur = XMLhelper::skip_blank(cur->children);
[Prev in Thread] | Current Thread | [Next in Thread] |