diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-30 08:54:10 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-30 08:54:10 +0000 |
commit | 44f74845e2b5e2eb5f8afaecb467ad6db262103a (patch) | |
tree | ca70755c8d8a2d6be48c22c8a73a53b338f26c52 /games/wesnoth-devel | |
parent | 8ed3a1bc1cf836261f8db943a6a5c7678297ccdd (diff) | |
download | ports-44f74845e2b5e2eb5f8afaecb467ad6db262103a.tar.gz ports-44f74845e2b5e2eb5f8afaecb467ad6db262103a.zip |
Notes
Diffstat (limited to 'games/wesnoth-devel')
-rw-r--r-- | games/wesnoth-devel/files/patch-src::widgets::menu.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/wesnoth-devel/files/patch-src::widgets::menu.cpp b/games/wesnoth-devel/files/patch-src::widgets::menu.cpp new file mode 100644 index 000000000000..7e8eddbfad3e --- /dev/null +++ b/games/wesnoth-devel/files/patch-src::widgets::menu.cpp @@ -0,0 +1,13 @@ +--- src/widgets/menu.cpp.orig Thu Jan 29 22:23:06 2004 ++++ src/widgets/menu.cpp Thu Jan 29 22:23:49 2004 +@@ -191,8 +191,8 @@ + x = event.button.x; + y = event.button.y; + } else { +- x = reinterpret_cast<int>(event.user.data1); +- y = reinterpret_cast<int>(event.user.data2); ++ x = (int)event.user.data1; ++ y = (int)event.user.data2; + } + + const int item = hit(x,y); |