X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fapplication%2Fhoople_service.cpp;fp=nucleus%2Flibrary%2Fapplication%2Fhoople_service.cpp;h=1a7ea8d9db25f45b204882e926e77d70d3f09c6c;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=317ada2465dac2cd1817ef7f4f3da8e4227404d8;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/nucleus/library/application/hoople_service.cpp b/nucleus/library/application/hoople_service.cpp index 317ada24..1a7ea8d9 100644 --- a/nucleus/library/application/hoople_service.cpp +++ b/nucleus/library/application/hoople_service.cpp @@ -58,7 +58,7 @@ int &hoople_service::_timer_period() { static int _tim = 0; return _tim; } ////////////// -static hoople_service *_global_hoople_service = NIL; +static hoople_service *_global_hoople_service = NULL_POINTER; // this static object is set by the setup() method. it should only come // into existence once during a program's lifetime. @@ -208,7 +208,7 @@ bool hoople_service::launch_event_loop(hoople_service &alert, MSG msg; msg.hwnd = 0; msg.message = 0; msg.wParam = 0; msg.lParam = 0; - while (!alert.is_defunct() && (GetMessage(&msg, NIL, 0, 0)) { + while (!alert.is_defunct() && (GetMessage(&msg, NULL_POINTER, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); }