mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-11-21 22:31:13 +00:00
Automatically connect to the network before doing a search.
This commit is contained in:
parent
d25ac1395b
commit
c963529943
@ -12,6 +12,7 @@
|
||||
#include <quickdraw.h>
|
||||
#include <qdaux.h>
|
||||
#include <window.h>
|
||||
#include <tcpip.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -54,6 +55,8 @@ void DoSearch(boolean getMore) {
|
||||
|
||||
WaitCursor();
|
||||
|
||||
TCPIPConnect(NULL);
|
||||
|
||||
if (!getMore) {
|
||||
FreeJSON();
|
||||
GetLETextByID(window, searchLine, (StringPtr)&queryBuf);
|
||||
|
Loading…
Reference in New Issue
Block a user