summaryrefslogtreecommitdiff
path: root/community/fldiff/build-fix.patch
blob: bbc6c76150e283e4f3d6ce028f3faeeb8edd5b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -wbBur fldiff-1.1/DiffWindow.cxx fldiff-1.1.my/DiffWindow.cxx
--- fldiff-1.1/DiffWindow.cxx	2006-11-13 21:54:02.000000000 +0300
+++ fldiff-1.1.my/DiffWindow.cxx	2011-07-05 12:58:38.000000000 +0400
@@ -1126,11 +1126,11 @@
 DiffWindow::save_prefs()
 {
   // Save the window prefs for the next run...
-  prefs_.set("color", color());
-  prefs_.set("selection_color", selection_color());
+  prefs_.set("color", (int)color());
+  prefs_.set("selection_color", (int)selection_color());
   prefs_.set("showlinenum", showlinenum());
   prefs_.set("tabwidth", tabwidth());
-  prefs_.set("textcolor", textcolor());
+  prefs_.set("textcolor", (int)textcolor());
   prefs_.set("textsize", textsize());
   prefs_.set("ignoreblanks", ignoreblanks());
 }