Fixed join/host bug

This commit is contained in:
punkrockguy318 2006-12-10 14:02:36 +00:00
parent 164cd0f951
commit 26cf8fad70
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
========================== version 0.5.3 ========================
* Fixed join/host problem.
========================== version 0.5.2 ========================
Cleanup:
* Fixed silly hack when forcing GTK event processing.

6
gfceu
View File

@ -244,7 +244,7 @@ def launch(passed, local=False):
else:
netpass = '-netpassword ' + '"' + options.join_pass + '" '
network = '-connect "' + options.join_add + '"'\
' -netport '+ options.join_port + ' ' + netpass
' -netport '+ str(options.join_port) + ' ' + netpass
else:
network = ''
@ -254,7 +254,7 @@ def launch(passed, local=False):
else:
netpass = ' -netpassword ' + '"' + options.host_pass + '" '
network = '-connect localhost -netport '+\
options.host_port + netpass + ' '
str(options.host_port) + netpass + ' '
if local:
@ -279,7 +279,7 @@ def launch(passed, local=False):
else:
args = [xterm_binary, "-e", fceu_server_binary]
args.append('--port')
args.append(options.host_port)
args.append(str(options.host_port))
if options.host_pass:
args.append("--password")
args.append(options.host_pass)