diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-29 03:43:04 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-29 03:43:04 +0000 |
commit | 6196aa73a8cde7d81726e15bb4daf18f48a610ab (patch) | |
tree | 358ea7aa18d474534f44b97952c25f6a9d84191d /mbone/vat/files/patch-ae | |
parent | Update to Tcl/Tk version 8.2 and get this to build with gcc 2.95. (diff) |
Update to Tcl/Tk version 8.2 and fix for gcc 2.95.
Submitted by: Ade Lovett <ade@lovett.com>
Diffstat (limited to 'mbone/vat/files/patch-ae')
-rw-r--r-- | mbone/vat/files/patch-ae | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/mbone/vat/files/patch-ae b/mbone/vat/files/patch-ae index 0dd64688bdeb..6ac2e51801f1 100644 --- a/mbone/vat/files/patch-ae +++ b/mbone/vat/files/patch-ae @@ -55,7 +55,7 @@ int n = strlen(s); --- sitebox.cc.orig 1997/01/07 22:48:27 +++ sitebox.cc 1997/01/07 23:27:35 -@@ -228,6 +228,10 @@ +@@ -230,6 +230,10 @@ Site::~Site() { @@ -66,4 +66,14 @@ } int Site::command(int argc, const char*const* argv) - +@@ -638,8 +642,8 @@ + need_sort_ = 0; + + Tcl& tcl = Tcl::instance(); +- Tk_Uid fg = mono()? "black" : (char*)tcl.attr("foreground"); +- Tk_Uid bg = mono()? "white" : (char*)tcl.attr("background"); ++ Tk_Uid fg = mono()? (char*)"black" : (char*)tcl.attr("foreground"); ++ Tk_Uid bg = mono()? (char*)"white" : (char*)tcl.attr("background"); + fg_ = lookup_gc(0, fg, bg); + bg_ = lookup_gc(0, bg, bg); + } |