Ticket #935: bemail-crash.patch
File bemail-crash.patch, 799 bytes (added by , 18 years ago) |
---|
-
Prefs.cpp
358 358 fNewFont->SetFamilyAndStyle(old_family, old_style); 359 359 if (revert) 360 360 { 361 sprintf(label, "%s %s", old_family, old_style); 362 item = fFontMenu->FindItem(label); 363 item->SetMarked(true); 361 if ((item = fFontMenu->FindItem(old_family)) != NULL ) 362 item->SetMarked(true); 364 363 } 365 364 366 365 fNewFont->SetSize(old_size); 367 366 if (revert) 368 367 { 369 368 sprintf(label, "%ld", old_size); 370 i tem = fSizeMenu->FindItem(label);371 item->SetMarked(true);369 if ((item = fSizeMenu->FindItem(label) ) != NULL) 370 item->SetMarked(true); 372 371 } 373 372 message.what = M_FONT; 374 373 be_app->PostMessage(&message);