CVS Commit by andreas: fix quoting identifiers starting with numbers
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
CVS Commit by andreas: fix quoting identifiers starting with numbers
Log Message:
-----------
fix quoting identifiers starting with numbers
Modified Files:
--------------
pgadmin3/src/utils:
misc.cpp (r1.62 -> r1.63)
Index: misc.cpp
===================================================================
RCS file: /projects/pgadmin3/src/utils/misc.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -Lsrc/utils/misc.cpp -Lsrc/utils/misc.cpp -u -w -r1.62 -r1.63
--- src/utils/misc.cpp
+++ src/utils/misc.cpp
@@ -282,7 +282,7 @@
while (pos < (int)value.length())
{
wxChar c=value.GetChar(pos);
- if (!(c >= '0' && c <= '9') &&
+ if (!((pos > 0) && (c >= '0' && c <= '9')) &&
!(c >= 'a' && c <= 'z') &&
!(c == '_'))
{
Home |
Main Index |
Thread Index