Change wrong OF prefix to OG.

This commit is contained in:
Jonathan Schleifer 2012-01-05 16:38:40 +01:00
parent 14e5b61471
commit c29f0c525c
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ extern Class og_application_delegate(void);
void win32_init(int *argc, char ***argv) void win32_init(int *argc, char ***argv)
{ {
//register a single window class; we'll customize later, as needed //register a single window class; we'll customize later, as needed
char *clsName = "OFWidgetClass"; char *clsName = "OGWidgetClass";
HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL); HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL);
WNDCLASSEX wcx; WNDCLASSEX wcx;
wcx.cbSize = sizeof(wcx); wcx.cbSize = sizeof(wcx);

View file

@ -41,7 +41,7 @@ void og_destroy(HWND widget, OGWidget *object)
widget = NULL; widget = NULL;
HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL); HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL);
widget = CreateWindowEx(WS_EX_LEFT, "OFWidgetClass", "OFWidget", WS_OVERLAPPEDWINDOW, widget = CreateWindowEx(WS_EX_LEFT, "OGWidgetClass", "OGWidget", WS_OVERLAPPEDWINDOW,
0, 0, 1, 1, NULL, NULL, hInst, NULL); 0, 0, 1, 1, NULL, NULL, hInst, NULL);
SetWindowLong(widget, GWL_USERDATA, (int)self); SetWindowLong(widget, GWL_USERDATA, (int)self);