diff options
Diffstat (limited to 'devel/gcvs/files/patch-rf_utoolbar.cpp')
-rw-r--r-- | devel/gcvs/files/patch-rf_utoolbar.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/gcvs/files/patch-rf_utoolbar.cpp b/devel/gcvs/files/patch-rf_utoolbar.cpp new file mode 100644 index 000000000000..156657b503d2 --- /dev/null +++ b/devel/gcvs/files/patch-rf_utoolbar.cpp @@ -0,0 +1,28 @@ +--- rf/utoolbar.cpp.orig 2002-06-15 19:49:37.000000000 +0200 ++++ rf/utoolbar.cpp 2007-11-14 00:09:12.000000000 +0100 +@@ -736,14 +736,14 @@ + delete m_winInfo; + } + +-int UToolbar::UDispatchMessage(int/*UEventType*/ evt, int arg1, void *arg2, UDispatchInfo & dispatchInfo) ++int UToolbar::UDispatchMessage(int/*UEventType*/ evt, int arg1, const void *arg2, UDispatchInfo & dispatchInfo) + { + if(evt == EV_CMD) + { + WININFO *info = m_winInfo; + if(info != 0L) + { +- int index; ++ int index = 0; + std::vector<TbEntry *>::iterator f = info->Search(arg1, &index); + if(f != info->entries.end()) + { +@@ -772,7 +772,7 @@ + if(info == 0L) + return; + +- int index; ++ int index = 0; + std::vector<TbEntry *>::iterator f = info->Search(cmd, &index); + if(f == info->entries.end()) + return; |