fix typos for mac build

This commit is contained in:
David Rose 2009-12-16 15:38:33 +00:00
parent 67fa81636d
commit 92ac3b6ee8
1 changed files with 4 additions and 6 deletions

View File

@ -120,12 +120,11 @@ TinyOsxGraphicsWindow* TinyOsxGraphicsWindow::GetCurrentOSxWindow(WindowRef wind
window = FrontNonFloatingWindow();
}
if (window && checkmywindow(window))
//if (window ) {
return (TinyOsxGraphicsWindow *)GetWRefCon (window);
if (window && checkmywindow(window)) {
return (TinyOsxGraphicsWindow *)GetWRefCon (window);
} else {
return NULL;
}
else
return NULL;
}
////////////////////////////////////////////////////////////////////
@ -1307,7 +1306,6 @@ void TinyOsxGraphicsWindow::SystemPointToLocalPoint(Point &qdGlobalPoint) {
break;
}
//result = noErr;
}
return result;
}