From 332282c8094d32d17282fd68da01ed9972177e06 Mon Sep 17 00:00:00 2001
From: StapleButter <thetotalworm@gmail.com>
Date: Thu, 21 Sep 2017 21:44:39 +0200
Subject: oh also, fuck that shit

---
 src/libui_sdl/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp
index e426ec9..7ccc8f7 100644
--- a/src/libui_sdl/main.cpp
+++ b/src/libui_sdl/main.cpp
@@ -306,7 +306,7 @@ void OnOpenFile(uiMenuItem* item, uiWindow* window, void* blarg)
         return;
     }
 
-    strncpy_s(ROMPath, file, 1023);
+    strncpy(ROMPath, file, 1023);
     ROMPath[1023] = '\0';
     uiFreeText(file);
     // TODO: change libui to store strings in stack-allocated buffers?
-- 
cgit v1.2.3