OSDN Git Service

(no commit message)
authorJochen Tucht <jtuc@users.sourceforge.net>
Mon, 15 Oct 2007 05:43:07 +0000 (05:43 +0000)
committerJochen Tucht <jtuc@users.sourceforge.net>
Mon, 15 Oct 2007 05:43:07 +0000 (05:43 +0000)
Src/locality.cpp

index 537d5af..391f1f3 100644 (file)
@@ -113,7 +113,7 @@ String GetLocaleStr(LPCTSTR str, int decimalDigits)
 
        String out;
        out.resize(48);
-       LPTSTR outbuff = out.begin(); //GetBuffer(48);
+       LPTSTR outbuff = &*out.begin(); //GetBuffer(48);
        int rt = GetNumberFormat(LOCALE_USER_DEFAULT // a predefined value for user locale
                , 0                // operation option (allow overrides)
                , str              // input number (see MSDN for legal chars)