diff options
Diffstat (limited to 'pugl/detail/win.h')
-rw-r--r-- | pugl/detail/win.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/win.h b/pugl/detail/win.h index b9e554c..6d89759 100644 --- a/pugl/detail/win.h +++ b/pugl/detail/win.h @@ -104,11 +104,11 @@ puglWinCreateWindow(const PuglView* const view, CW_USEDEFAULT, CW_USEDEFAULT, wr.right-wr.left, wr.bottom-wr.top, (HWND)view->parent, NULL, NULL, NULL))) { - return PUGL_ERR_CREATE_WINDOW; + return PUGL_CREATE_WINDOW_FAILED; } else if (!(*hdc = GetDC(*hwnd))) { DestroyWindow(*hwnd); *hwnd = NULL; - return PUGL_ERR_CREATE_WINDOW; + return PUGL_CREATE_WINDOW_FAILED; } return PUGL_SUCCESS; |