Skip to content

Commit

Permalink
Fixed bug where "play" would cause an abort of the installation.
Browse files Browse the repository at this point in the history
Fixed typo in Makefile
Changed root warning wording so that it's not game specific
  • Loading branch information
Sam Lantinga committed Nov 13, 2000
1 parent 93b21d4 commit 9f4f63d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -101,7 +101,7 @@ endif
strip image/setup.data/bin/$(os)/$(arch)/uninstall; \
brandelf -t $(os) image/setup.data/bin/$(os)/$(arch)/uninstall; \
cp -v setup.gtk image/setup.data/bin/$(os)/$(arch)/$(libc); \
strip image/setup.data/bin/$(os)/$(arch)/$(libc)/setup.gtk;
strip image/setup.data/bin/$(os)/$(arch)/$(libc)/setup.gtk; \
else \
echo No directory to copy the binary files to.; \
fi
Expand Down
4 changes: 2 additions & 2 deletions gtk_ui.c
@@ -1,5 +1,5 @@
/* GTK-based UI
$Id: gtk_ui.c,v 1.58 2000-11-11 01:40:20 hercules Exp $
$Id: gtk_ui.c,v 1.59 2000-11-13 22:37:34 hercules Exp $
*/

/* Modifications by Borland/Inprise Corp.
Expand Down Expand Up @@ -403,7 +403,7 @@ void setup_button_play_slot( GtkWidget* _widget, gpointer func_data )

if ( getuid() == 0 ) {
const char *warning_text =
_("If you run a game as root, the preferences will be stored in\n"
_("If you run this as root, the preferences will be stored in\n"
"root's home directory instead of your user account directory.");

warning_dialog = WARNING_ROOT;
Expand Down
3 changes: 2 additions & 1 deletion main.c
@@ -1,4 +1,4 @@
/* $Id: main.c,v 1.40 2000-11-11 07:13:38 megastep Exp $ */
/* $Id: main.c,v 1.41 2000-11-13 22:37:34 hercules Exp $ */

/*
Modifications by Borland/Inprise Corp.:
Expand Down Expand Up @@ -371,6 +371,7 @@ int main(int argc, char **argv)
break;
case SETUP_PLAY:
state = launch_game(info);
break;
case SETUP_ABORT:
abort_install();
break;
Expand Down

0 comments on commit 9f4f63d

Please sign in to comment.