diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2004-10-16 16:04:24 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2004-10-16 16:04:24 +0000 |
commit | 1e3cf0fa0a246a50e12235c0382bcdb57001ca34 (patch) | |
tree | 89984ee1790e59226ce0a371296d637e26ae2389 /games/gnomoku/files/patch-mainwin.cc | |
parent | Withdraw BROKEN on 5.x. It's ok now. (diff) |
Fix C++ to avoid broken build on 5.x after gnome-- fix.
Notes
Notes:
svn path=/head/; revision=119599
Diffstat (limited to 'games/gnomoku/files/patch-mainwin.cc')
-rw-r--r-- | games/gnomoku/files/patch-mainwin.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/gnomoku/files/patch-mainwin.cc b/games/gnomoku/files/patch-mainwin.cc new file mode 100644 index 000000000000..79de28a5e9ea --- /dev/null +++ b/games/gnomoku/files/patch-mainwin.cc @@ -0,0 +1,14 @@ +--- mainwin.cc.orig Sat Oct 16 11:58:08 2004 ++++ mainwin.cc Sat Oct 16 11:58:36 2004 +@@ -93,9 +93,9 @@ + // Table + Gtk::Table* table = new Gtk::Table (rows, cols, true); + Point *p; +- tbl = new (Point**)[rows]; ++ tbl = new Point**[rows]; + for (int y=0; y<rows; y++) { +- tbl[y] = new (Point*)[cols]; ++ tbl[y] = new Point*[cols]; + for (int x=0; x<cols; x++) { + p = new Point(y,x); + tbl[y][x] = p; |