stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/stratagus script.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/stratagus script.c
Date: 24 Jan 2004 02:18:33 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/24 02:18:33

Modified files:
        src/stratagus  : script.c 

Log message:
        Fix error on missing .stratagus

Patches:
Index: stratagus/src/stratagus/script.c
diff -u stratagus/src/stratagus/script.c:1.168 
stratagus/src/stratagus/script.c:1.169
--- stratagus/src/stratagus/script.c:1.168      Sat Jan 24 02:03:36 2004
+++ stratagus/src/stratagus/script.c    Sat Jan 24 02:18:32 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: script.c,v 1.168 2004/01/23 15:03:36 nobody_ Exp $
+//      $Id: script.c,v 1.169 2004/01/23 15:18:32 nobody_ Exp $
 
 //@{
 
@@ -229,8 +229,7 @@
        }
        LibraryFileName(LuaToString(l, 1), buf);
        if (LuaLoadFile(buf) == -1) {
-               lua_pushfstring(l, "Load failed: %s", LuaToString(l, 1));
-               lua_error(l);
+               DebugLevel0Fn("Load failed: %s" _C_ LuaToString(l, 1));
        }
        return 0;
 }
@@ -1364,7 +1363,7 @@
        }
 
        fprintf(fd, "--- -----------------------------------------\n");
-       fprintf(fd, "--- $Id: script.c,v 1.168 2004/01/23 15:03:36 nobody_ Exp 
$\n");
+       fprintf(fd, "--- $Id: script.c,v 1.169 2004/01/23 15:18:32 nobody_ Exp 
$\n");
 
        fprintf(fd, "SetVideoResolution(%d, %d)\n", VideoWidth, VideoHeight);
 
@@ -1388,7 +1387,7 @@
        }
 
        fprintf(fd, "--- -----------------------------------------\n");
-       fprintf(fd, "--- $Id: script.c,v 1.168 2004/01/23 15:03:36 nobody_ Exp 
$\n");
+       fprintf(fd, "--- $Id: script.c,v 1.169 2004/01/23 15:18:32 nobody_ Exp 
$\n");
 
        // Global options
        if (OriginalFogOfWar) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]