diff VideoPlayer.cpp @ 104:62bfa3ffe7db

2.11.12
author Ritor1
date Fri, 02 Nov 2012 10:04:08 +0600
parents a84fb3752681
children e633cde38d64
line wrap: on
line diff
--- a/VideoPlayer.cpp	Mon Oct 29 09:28:08 2012 +0600
+++ b/VideoPlayer.cpp	Fri Nov 02 10:04:08 2012 +0600
@@ -492,7 +492,7 @@
 LABEL_3:
     v7 = "Can't open file - anims\\%s.smk";
 LABEL_4:
-    sprintfex(v3, v7, v8);
+    sprintf(v3, v7, v8);
     MessageBoxA(0, v3, "Video File Error", 0);
     return;
   }
@@ -505,7 +505,7 @@
     v8 = pTmpBuf;
     if ( !bCanLoadFromCD )
       goto LABEL_3;
-    sprintfex(pTmpBuf2, "%c:\\%s", (unsigned __int8)cMM7GameCDDriveLetter, pTmpBuf);
+    sprintf(pTmpBuf2, "%c:\\%s", (unsigned __int8)cMM7GameCDDriveLetter, pTmpBuf);
     v5 = CreateFileA(pTmpBuf2, GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, 0x8000080u, 0);
     hMagicVid = v5;
     if ( v5 == (HANDLE)INVALID_HANDLE_VALUE )
@@ -1025,13 +1025,13 @@
     MessageBoxA(nullptr, v12, v15, 0);
       return;
     }
-    sprintfex(Str2, "%s.smk", pMovieName);
+    sprintf(Str2, "%s.smk", pMovieName);
     v5 = OpenSmack(Str2);
     v3->pSmackerMovie = v5;
     if ( !v5 )
     {
       v3->Unload();
-      sprintfex(pTmpBuf, "Can't load %s", &Str2);
+      sprintf(pTmpBuf, "Can't load %s", &Str2);
       v15 = "E:\\WORK\\MSDEV\\MM7\\MM7\\Code\\Video.cpp:937";
       v12 = pTmpBuf;
       goto LABEL_6;
@@ -1105,7 +1105,7 @@
       if ( !v6 )
       {
         Unload();
-        sprintfex(pVideoName, "Can't load file - anims\\%s.smk", pFilename);
+        sprintf(pVideoName, "Can't load file - anims\\%s.smk", pFilename);
 LABEL_17:
         MessageBoxA(0, pVideoName, "Smacker Error", 0);
         return;
@@ -1121,7 +1121,7 @@
         Unload();
         v12 = "Can't allocate memory for buffer";
 LABEL_16:
-        sprintfex(pVideoName, v12);
+        sprintf(pVideoName, v12);
         goto LABEL_17;
       }
       SmackToBuffer(v4->pSmackerMovie, 0, 0, v4->pSmackerMovie->Width, v4->pSmackerMovie->Height, v9, 0);