ports/textproc/fldiff/files/patch-DiffWindow.cxx
Emanuel Haupt 72ec2b1931 - Pacify portlint
- Register missing LIB_DEPENDS
- Register missing USE* flags
2016-08-08 14:58:23 +00:00

17 lines
654 B
C++

--- DiffWindow.cxx.orig 2006-11-13 18:54:02 UTC
+++ DiffWindow.cxx
@@ -1126,11 +1126,11 @@ void
DiffWindow::save_prefs()
{
// Save the window prefs for the next run...
- prefs_.set("color", color());
- prefs_.set("selection_color", selection_color());
+ prefs_.set("color", static_cast<int>(color()));
+ prefs_.set("selection_color", static_cast<int>(selection_color()));
prefs_.set("showlinenum", showlinenum());
prefs_.set("tabwidth", tabwidth());
- prefs_.set("textcolor", textcolor());
+ prefs_.set("textcolor", static_cast<int>(textcolor()));
prefs_.set("textsize", textsize());
prefs_.set("ignoreblanks", ignoreblanks());
}