Log Message:
-----------
Allow initial selection of language "Default"
Tags:
----
REL-1_0_0_PATCHES
Modified Files:
--------------
pgadmin3/src:
pgAdmin3.cpp (r1.81 -> r1.81.2.1)
Index: pgAdmin3.cpp
===================================================================
RCS file: /projects/pgadmin3/src/pgAdmin3.cpp,v
retrieving revision 1.81
retrieving revision 1.81.2.1
diff -Lsrc/pgAdmin3.cpp -Lsrc/pgAdmin3.cpp -u -w -r1.81 -r1.81.2.1
--- src/pgAdmin3.cpp
+++ src/pgAdmin3.cpp
@@ -202,6 +202,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;
}
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend