Changeset 4185 for trunk/console
- Timestamp:
- 08/13/05 10:40:35 (3 years ago)
- Location:
- trunk/console/src
- Files:
-
- 2 modified
-
console.cpp (modified) (1 diff)
-
console_print.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console.cpp
r4184 r4185 1771 1771 char *szFrom; 1772 1772 if (gUserManager.FindOwner(szId, nPPID)) 1773 szFrom = "Server\0";1773 szFrom = strdup("Server"); 1774 1774 else 1775 1775 szFrom = strdup(u->GetAlias()); -
trunk/console/src/console_print.cpp
r4184 r4185 151 151 winMain->sLastContact.nPPID, LOCK_R); 152 152 if (u == NULL) 153 szLastUser = "<Removed>\0";153 szLastUser = strdup("<Removed>"); 154 154 else 155 155 { … … 159 159 } 160 160 else 161 szLastUser = "<None>\0";161 szLastUser = strdup("<None>"); 162 162 163 163 o = gUserManager.FetchOwner(LOCK_R); … … 181 181 wclrtoeol(winStatus->Win()); 182 182 winStatus->RefreshWin(); 183 free(szLastUser); 183 184 } 184 185
