Changeset 989 for trunk/dll/avv.c
- Timestamp:
- Mar 2, 2008, 12:34:12 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/avv.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/avv.c
r985 r989 95 95 { // fixme for command line limit 96 96 CHAR *szCmdLine; 97 PSZ pszWorkBuf; 97 98 98 99 szCmdLine = xmalloc(MaxComLineStrg, pszSrcFile, __LINE__); 99 if (!szCmdLine) 100 return NULL; //already complained 101 xfree(pszDest); 102 WinQueryDlgItemText(hwnd, id, sizeof(szCmdLine), szCmdLine); 103 if (*szCmdLine){ 104 PSZ pszWorkBuf; 100 if (szCmdLine) { 101 xfree(pszDest); 102 WinQueryDlgItemText(hwnd, id, sizeof(szCmdLine), szCmdLine); 105 103 pszWorkBuf = xmalloc(MaxComLineStrg, pszSrcFile, __LINE__); 106 104 if (pszWorkBuf) { … … 111 109 else 112 110 pszDest = xstrdup(szCmdLine, pszSrcFile, __LINE__); // return the unexamined input on failure 111 xfree(szCmdLine); 113 112 } 114 113 else 115 114 pszDest = NULL; 116 xfree(szCmdLine);117 115 return pszDest; 118 116 }
Note:
See TracChangeset
for help on using the changeset viewer.
