--- np2/macosx/dialog/aboutdlg.cpp 2003/11/11 16:33:51 1.1 +++ np2/macosx/dialog/aboutdlg.cpp 2003/11/13 18:17:43 1.3 @@ -57,6 +57,7 @@ static pascal OSStatus cfWinproc(EventHa SizeWindow(aboutWin, 292, 230, true); } else { + ZeroMemory(infostr, sizeof(infostr)); np2info(infostr, np2infostr, sizeof(infostr)); SetControlData(more,kControlNoPart,kControlEditTextTextTag,sizeof(infostr), infostr); SetControl32BitValue(getControlRefByID('detl',0,aboutWin),3); @@ -80,11 +81,10 @@ static pascal OSStatus cfWinproc(EventHa { case kEventWindowShowing: image = getControlRefByID('logo', 0, aboutWin); - pict = getBMPfromResource("np2logo", &bounds, CFSTR("tiff")); + pict = getBMPfromResource("np2logo.tiff", &bounds); SetControlData(image, kControlNoPart, kControlPictureHandleTag, sizeof(PicHandle), &pict); version = getControlRefByID('vers', 0, aboutWin); SetControlData(version, kControlNoPart, kControlStaticTextTextTag, sizeof(NP2VER_CORE), NP2VER_CORE); - ZeroMemory(infostr, sizeof(infostr)); err=noErr; break;