]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxexpr.cpp
1. wxWindow::IsTopLevel() added and documented
[wxWidgets.git] / src / common / wxexpr.cpp
index 1d82a95ba18c797f7391817d2d062ec63e8437c7..227efb2850a888fddd05513167cf76477942d4db 100644 (file)
@@ -1197,13 +1197,13 @@ char *wxmake_string(char *str)
   int len, i;
   const wxMB2WXbuf sbuf = wxConv_libc.cMB2WX(str);
 
-  str++;                       /* skip leading quote */
+//  str++;                     /* skip leading quote */
   len = wxStrlen(sbuf) - 1;    /* ignore trailing quote */
     
   s = new wxChar[len + 1];
     
   t = s;
-  for(i=0; i<len; i++)
+  for(i=1; i<len; i++) // 1 since we want to skip leading quote
   {
     if (sbuf[i] == _T('\\') && sbuf[i+1] == _T('"'))
     {