$NetBSD: patch-ad,v 1.1 2005/06/14 17:03:37 jmmv Exp $ --- UI.cc.orig 1997-01-23 17:22:51.000000000 +0100 +++ UI.cc @@ -125,10 +125,10 @@ void UI::make_windows() { void UI::popup_dialog (int dialog) { Widget w; switch (dialog) { - case game.ENTERNAME: w = enternamebox; break; - case game.HIGHSCORE: w = highscorebox; break; - case game.SCORE: w = scorebox; break; - case game.ENDGAME: w = endgamebox; break; + case Game::ENTERNAME: w = enternamebox; break; + case Game::HIGHSCORE: w = highscorebox; break; + case Game::SCORE: w = scorebox; break; + case Game::ENDGAME: w = endgamebox; break; } popup (NULL, &w, NULL); } @@ -139,11 +139,11 @@ void UI::popup_dialog (int dialog) { void UI::set_cursor(int cursor) { switch (cursor) { - case game.BUCKETC: + case Game::BUCKETC: XDefineCursor(display, window, bucket.cursor.cursor); break; - case game.DOWNC: + case Game::DOWNC: XDefineCursor(display, window, downcursor.cursor); break; - case game.DEFAULTC: + case Game::DEFAULTC: XDefineCursor(display, window, defaultcursor.cursor); break; default: XDefineCursor(display, window, OS.cursor[cursor].cursor);