Last IP address used is now saved

This commit is contained in:
pagefault
2001-08-25 03:15:43 +00:00
parent 11337cc183
commit 76772b99ff
8 changed files with 16 additions and 16 deletions

View File

@@ -592,6 +592,7 @@ NEWSYM TrapMouseCursor, db 1
NEWSYM KeyQuickClock, dd 0
NEWSYM KeyQuickMinimize, dd 0
NEWSYM AutoIncSaveSlot, db 0
NEWSYM TCPIPAddress, db '',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
GUIsave equ $-GUIRAdd

View File

@@ -644,7 +644,7 @@ GUITCPIPKeys:
;GUINetTextm2 db 0,0,0
cmp byte[GUINetTextm2],1
je near .section2
mov edi,GUINetTextk2
mov edi,TCPIPAddress
mov esi,26
cmp byte[GUINetTextm2],2
jne .notsecondstring

View File

@@ -116,7 +116,7 @@ ProcessModem:
call .writestr
mov esi,.tcpipip2
call .writestr
mov esi,GUINetTextk2
mov esi,TCPIPAddress
call .writestr
mov esi,.tcpipret
call .writestr
@@ -972,11 +972,11 @@ ProcessRemoteCommand:
call RemoteDeInit
ret
.loadfail
cmp dword[GUINetTextk2],'127.'
cmp dword[TCPIPAddress],'127.'
jne .nonum
cmp dword[GUINetTextk2+4],'0.0.'
cmp dword[TCPIPAddress+4],'0.0.'
jne .nonum
cmp byte[GUINetTextk2+8],'1'
cmp byte[TCPIPAddress+8],'1'
je near .startloadingb
.nonum
mov esi,.filenotu

View File

@@ -3848,7 +3848,7 @@ DisplayNetOptnsTCPIP:
mov byte[GUItextcolor],222
.zero2
GUIOuttextwin2 8,59,15,GUINetTextl2
GUIOuttextwin2 8,30,60,GUINetTextk2
GUIOuttextwin2 8,30,60,TCPIPAddress
GUIOuttextwin2 8,59,25,ChatNick
mov byte[GUINetTextn2],'_'
test byte[GUINetTextm2+2],8
@@ -4389,7 +4389,6 @@ GUINetTextg2 db 'START AS SERVER',0
GUINetTexth2 db 'CLIENT OPTIONS:',0
GUINetTexti2 db 'IP:',0
GUINetTextj2 db 'CONNECT TO SERVER',0
NEWSYM GUINetTextk2, db '',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
GUINetTextl2 db '7845',0,0,0
GUINetTextm2 db 0,0,0
GUINetTextn2 db '_',0