Log Message:
-----------
Allow initial selection of language "Default"

Modified Files:
--------------
    pgadmin3:
        CHANGELOG.txt (r1.95 -> r1.96)
    pgadmin3/src:
        pgAdmin3.cpp (r1.92 -> r1.93)
    pgadmin3/src/schema:
        pgObject.cpp (r1.60 -> r1.61)

Index: CHANGELOG.txt
===================================================================
RCS file: /projects/pgadmin3/CHANGELOG.txt,v
retrieving revision 1.95
retrieving revision 1.96
diff -LCHANGELOG.txt -LCHANGELOG.txt -u -w -r1.95 -r1.96
--- CHANGELOG.txt
+++ CHANGELOG.txt
@@ -16,6 +16,7 @@
 </ul>
 <br>
 <ul>
+    <li>2004-03-25 AP   ***  Allow initial selection of language "Default"
     <li>2004-03-24 AP        changed font handling to accept exotic weights
     <li>2004-03-17 AP        Updated sources for wx 2.5.1
     <li>2004-03-17 AP        Added Font Option
Index: pgAdmin3.cpp
===================================================================
RCS file: /projects/pgadmin3/src/pgAdmin3.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -Lsrc/pgAdmin3.cpp -Lsrc/pgAdmin3.cpp -u -w -r1.92 -r1.93
--- src/pgAdmin3.cpp
+++ src/pgAdmin3.cpp
@@ -240,6 +240,8 @@
                 langCount+1, langNames);
             if (langNo > 0)
                 langId = 
(wxLanguage)wxLocale::GetLanguageInfo(existingLangs.Item(langNo-1))->Language;
+            else if (langNo == 0)
+                langId = wxLANGUAGE_DEFAULT;
 
             delete[] langNames;
         }
Index: pgObject.cpp
===================================================================
RCS file: /projects/pgadmin3/src/schema/pgObject.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -Lsrc/schema/pgObject.cpp -Lsrc/schema/pgObject.cpp -u -w -r1.60 -r1.61
--- src/schema/pgObject.cpp
+++ src/schema/pgObject.cpp
@@ -172,8 +172,6 @@
 
         if (set)
         {
-            long pos=0;
-
             while (!set->Eof())
             {
                 wxString refname;
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to