aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-07-08 22:40:03 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2009-07-08 22:40:03 -0400
commitda54e6a215b387767e1e3ea3b8deadfd79d4e3d3 (patch)
treecec7407256d9a818e8f55adad275829df271c034 /src
parent741d7e87d67d265fd0096b779d1e471172b2bccb (diff)
downloadtextadept-da54e6a215b387767e1e3ea3b8deadfd79d4e3d3.tar.gz
textadept-da54e6a215b387767e1e3ea3b8deadfd79d4e3d3.zip
Fixed bug with gcocoadialog integration; src/lua_interface.c
Diffstat (limited to 'src')
-rw-r--r--src/lua_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_interface.c b/src/lua_interface.c
index d48919bb..3bb58ed3 100644
--- a/src/lua_interface.c
+++ b/src/lua_interface.c
@@ -1282,7 +1282,7 @@ static int l_cf_view_goto_buffer(lua_State *lua) {
}
static int l_cf_ta_dialog(lua_State *lua) {
- enum GCDialogs type = gcocoadialog_type(luaL_checkstring(lua, 1));
+ GCDialogType type = gcocoadialog_type(luaL_checkstring(lua, 1));
int argc = lua_gettop(lua) - 1;
const char **argv = static_cast<const char**>(malloc(argc * sizeof(char *)));
for (int i = 0; i < argc; i++) argv[i] = luaL_checkstring(lua, i + 2);