Skip to content

Commit

Permalink
fixup lua_gui2.?pp
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Nov 11, 2014
1 parent f969e60 commit 445fda6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/scripting/lua_gui2.cpp
Expand Up @@ -78,7 +78,7 @@ namespace {
}
}//unnamed namespace for scoped_dialog

gui2::twidget *find_widget(lua_State *L, int i, bool readonly)
static gui2::twidget *find_widget(lua_State *L, int i, bool readonly)
{
if (!scoped_dialog::current) {
luaL_error(L, "no visible dialog");
Expand Down
4 changes: 2 additions & 2 deletions src/scripting/lua_gui2.hpp
Expand Up @@ -12,8 +12,8 @@
See the COPYING file for more details.
*/

#ifndef LUA_GUI2_DEFINED
#define LUA_GUI2_DEFINED
#ifndef LUA_GUI2_HPP_INCLUDED
#define LUA_GUI2_HPP_INCLUDED

struct lua_State;

Expand Down

0 comments on commit 445fda6

Please sign in to comment.