summaryrefslogtreecommitdiff
path: root/graphics/xmrm/files/patch-ag
blob: 383465251e04e7af2355a9158e5f567e4cb48577 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- xmrm_mpeg_main.cc.orig	Tue Mar 10 00:00:00 1998
+++ xmrm_mpeg_main.cc	Wed Jul 19 15:43:38 2000
@@ -8,6 +8,7 @@
 #include <forms.h>
 #include <unistd.h>
 #include "xmrm_mpeg.h"
+#include "const.h"
 
 #define MAX_PIC_NUM 999
 #define BORDER_WIDTH -1
@@ -68,7 +69,7 @@
 {
   int count = 0;
 
-  backup_class->number_str = ".000.";
+  strcpy(backup_class->number_str, ".000.");
 
   while ( !(*ext = strstr(fname_only,backup_class->number_str)) && (count <= MAX_PIC_NUM) )
   {
@@ -417,7 +418,7 @@
       // Check for even picture size
       if ( (tif_w % 2) || (tif_h % 2) )
       {
-        work_class->even = ".even";
+        strcpy(work_class->even,".even");
         if ( Even_Size( tif, tif_w, tif_h) )
           return 1;
       }