Browse Source

Fix build

Sasha Szpakowski 7 months ago
parent
commit
44e26a12cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/window/wrap_Window.cpp

+ 1 - 1
src/modules/window/wrap_Window.cpp

@@ -678,7 +678,7 @@ static void fileDialogCallback(void *context, const std::vector<std::string> &fi
 
 	// Unfortunately, this eats the stack trace, too bad.
 	if (err != 0)
-		throw love::Exception("Error in file dialog callback: %s", luax_tostring(L, -1));
+		throw love::Exception("Error in file dialog callback: %s", lua_tostring(L, -1));
 }
 
 int w_showFileDialog(lua_State *L)