Changeset 33 in chevmsgr for trunk/msvc14/ChevMsgrClient_MFC/ChevMsgrClient_MFCDlg.cpp
- Timestamp:
- 12/09/15 06:47:21 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/msvc14/ChevMsgrClient_MFC/ChevMsgrClient_MFCDlg.cpp
r32 r33 136 136 { 137 137 AfxMessageBox(_T("¼¹ö Á¤º¸ ÆÄÀÏÀ» ãÀ» ¼ö ¾øÀ½")); 138 ::SendMessage(GetSafeHwnd(), WM_QUIT, NULL, NULL);138 exit(1); 139 139 } 140 140 std::string ip; … … 147 147 { 148 148 AfxMessageBox(str2cstr(chev.getLastError())); 149 ::SendMessage(GetSafeHwnd(), WM_QUIT, NULL, NULL);149 exit(1); 150 150 } 151 151 … … 155 155 { 156 156 AfxMessageBox(_T("login failed")); 157 ::SendMessage(GetSafeHwnd(), WM_QUIT, NULL, NULL);157 exit(1); 158 158 } 159 159 … … 243 243 SensitiveCtrl sc; 244 244 245 sc.sensitiveIdx = gDlg->scl[idx].chatList.size();245 sc.sensitiveIdx = (int)gDlg->scl[idx].chatList.size(); 246 246 sc.timestamp = (int)time(NULL); 247 247 gDlg->scl[idx].sensitiveCtrl.push_back(sc); … … 341 341 SensitiveCtrl sc; 342 342 343 sc.sensitiveIdx = gDlg->scl[idx].chatList.size();343 sc.sensitiveIdx = (int)gDlg->scl[idx].chatList.size(); 344 344 sc.timestamp = (int)time(NULL); 345 345 gDlg->scl[idx].sensitiveCtrl.push_back(sc);
Note:
See TracChangeset
for help on using the changeset viewer.