Changeset 6372 for trunk/console/src/console_print.cpp
- Timestamp:
- 07/01/08 05:59:12 (5 months ago)
- Files:
-
- 1 modified
-
trunk/console/src/console_print.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console_print.cpp
r6359 r6372 131 131 132 132 unsigned short nNumOwnerEvents = 0; 133 ICQOwner *o = gUserManager.FetchOwner(LOCK_R);133 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 134 134 if (o) 135 135 { 136 136 nNumOwnerEvents = o->NewMessages(); 137 gUserManager.DropOwner( );137 gUserManager.DropOwner(o); 138 138 } 139 139 … … 161 161 szLastUser = strdup("<None>"); 162 162 163 o = gUserManager.FetchOwner(L OCK_R);163 o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 164 164 wbkgdset(winStatus->Win(), COLOR_PAIR(COLOR_WHITE)); 165 165 mvwhline(winStatus->Win(), 0, 0, ACS_HLINE, COLS); … … 176 176 53, szMsgStr, 29, 53, 177 177 szLastUser, 29); 178 gUserManager.DropOwner( );179 } 180 178 gUserManager.DropOwner(o); 179 } 180 181 181 wclrtoeol(winStatus->Win()); 182 182 winStatus->RefreshWin(); … … 775 775 { 776 776 // Get the user's name 777 ICQUser *u = gUserManager.FetchUser(ftman->Uin(), LOCK_R);777 ICQUser* u = gUserManager.FetchUser(ftman->Id(), LICQ_PPID, LOCK_R); 778 778 779 779 // Make the title
