From 526ccb12ad43c8680fd559ddb9e931dbba1cddcc Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Wed, 28 Aug 2013 19:15:00 -0300 Subject: [PATCH] Renamed love.window.isFullscreen to love.window.getFullscreen (resolves issue #721) --- src/modules/window/wrap_Window.cpp | 4 ++-- src/modules/window/wrap_Window.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/window/wrap_Window.cpp b/src/modules/window/wrap_Window.cpp index 245f79a54..6874bef88 100644 --- a/src/modules/window/wrap_Window.cpp +++ b/src/modules/window/wrap_Window.cpp @@ -212,7 +212,7 @@ int w_setFullscreen(lua_State *L) return 1; } -int w_isFullscreen(lua_State *L) +int w_getFullscreen(lua_State *L) { int w, h; WindowFlags flags; @@ -321,7 +321,7 @@ static const luaL_Reg functions[] = { "getMode", w_getMode }, { "getModes", w_getModes }, { "setFullscreen", w_setFullscreen }, - { "isFullscreen", w_isFullscreen }, + { "getFullscreen", w_getFullscreen }, { "isCreated", w_isCreated }, { "getWidth", w_getWidth }, { "getHeight", w_getHeight }, diff --git a/src/modules/window/wrap_Window.h b/src/modules/window/wrap_Window.h index 506185774..5b215eca1 100644 --- a/src/modules/window/wrap_Window.h +++ b/src/modules/window/wrap_Window.h @@ -35,7 +35,7 @@ int w_setMode(lua_State *L); int w_getMode(lua_State *L); int w_getModes(lua_State *L); int w_setFullscreen(lua_State *L); -int w_isFullscreen(lua_State *L); +int w_getFullscreen(lua_State *L); int w_isCreated(lua_State *L); int w_getWidth(lua_State *L); int w_getHeight(lua_State *L);