Changeset 25477
- Timestamp:
- 05/12/08 15:58:20 (6 months ago)
- Files:
-
- 1 modified
-
haiku/trunk/src/apps/deskcalc/CalcView.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/apps/deskcalc/CalcView.cpp
r23061 r25477 1055 1055 CalcView::_FetchAppIcon(BBitmap* into) 1056 1056 { 1057 app_info info;1058 be_roster-> GetAppInfo(kAppSig, &info);1059 BFile file(& info.ref, B_READ_ONLY);1057 entry_ref appRef; 1058 be_roster->FindApp(kAppSig, &appRef); 1059 BFile file(&appRef, B_READ_ONLY); 1060 1060 BAppFileInfo appInfo(&file); 1061 if (appInfo.GetIcon(into, B_MINI_ICON) <B_OK)1061 if (appInfo.GetIcon(into, B_MINI_ICON) != B_OK) 1062 1062 memset(into->Bits(), 0, into->BitsLength()); 1063 1063 }
