瀏覽代碼

Fixed an inconsistency in sfml's platform

Eiyeron Fulmincendii 10 年之前
父節點
當前提交
0e285f43d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/sfml/Quirks.cpp

+ 1 - 1
platform/sfml/Quirks.cpp

@@ -13,5 +13,5 @@ void Quirks::deinit()
 
 
 string Quirks::solve_absolute_path(const char* path)
 string Quirks::solve_absolute_path(const char* path)
 {
 {
-    return path;
+    return string(path);
 }
 }