aboutsummaryrefslogtreecommitdiffstats
path: root/misc/estic/files/patch-resitem.cc
blob: 087de120ca56c49cdd912695dca1072eed69afc5 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- spunk/resitem.cc.orig   Sat Feb 26 18:07:02 2000
+++ spunk/resitem.cc    Sat Feb 26 18:07:39 2000
@@ -1403,16 +1403,16 @@
 // Data edit menue
 {
     // Menue IDs
-    const miID          = 10;
-    const miText        = 20;
-    const miState       = 30;
-    const miAccelKey    = 40;
-    const miHelpKey     = 50;
-    const miCharset     = 60;
-    const miLimits      = 70;
-    const miSubMenue    = 80;
-    const miToggleText  = 90;
-    const miToggleCount = 100;
+    const int miID          = 10;
+    const int miText        = 20;
+    const int miState       = 30;
+    const int miAccelKey    = 40;
+    const int miHelpKey     = 50;
+    const int miCharset     = 60;
+    const int miLimits      = 70;
+    const int miSubMenue    = 80;
+    const int miToggleText  = 90;
+    const int miToggleCount = 100;
 
     // Load the menue from the resource
     Menue* M = (Menue*) LoadResource ("@RESITEM.ItemDataMenue");
@@ -1639,13 +1639,13 @@
 
 void ResEditApp::ChangeCharset (WindowItem* Item)
 {
-    const miReset       = 1;
-    const miAddDigits   = 2;
-    const miAddHex      = 3;
-    const miAddAlpha    = 4;
-    const miAddAll      = 5;
-    const miCustom      = 6;
-    const miAllowEmpty  = 7;
+    const int miReset       = 1;
+    const int miAddDigits   = 2;
+    const int miAddHex      = 3;
+    const int miAddAlpha    = 4;
+    const int miAddAll      = 5;
+    const int miCustom      = 6;
+    const int miAllowEmpty  = 7;
 
 
     // Only RStringItem and TextEdits are allowed to change the charset