aboutsummaryrefslogtreecommitdiffstats
path: root/src/LYSearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYSearch.c')
-rw-r--r--src/LYSearch.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/LYSearch.c b/src/LYSearch.c
index aed16225..dfd359c3 100644
--- a/src/LYSearch.c
+++ b/src/LYSearch.c
@@ -1,5 +1,5 @@
#include <HTUtils.h>
-#include <tcp.h>
+#include <HTAlert.h>
#include <LYUtils.h>
#include <LYStrings.h>
#include <LYSearch.h>
@@ -9,8 +9,6 @@
#include <LYLeaks.h>
-#define FREE(x) if (x) {free(x); x = NULL;}
-
/*
* Search for the target string inside of the links
* that are currently displayed on the screen beginning
@@ -217,8 +215,7 @@ PUBLIC BOOL textsearch ARGS3(
* Restore prev_target and return. - FM
*/
strcpy(prev_target, prev_target_buffer);
- _statusline(CANCELLED);
- sleep(InfoSecs);
+ HTInfoMsg(CANCELLED);
return(FALSE);
}
}
@@ -232,8 +229,7 @@ check_recall:
* previous search string will no longer occur, but it can
* be used again via LYK_NEXT. - FM
*/
- _statusline(CANCELLED);
- sleep(InfoSecs);
+ HTInfoMsg(CANCELLED);
return(FALSE);
}
@@ -284,8 +280,7 @@ check_recall:
* Restore prev_target and return. - FM
*/
strcpy(prev_target, prev_target_buffer);
- _statusline(CANCELLED);
- sleep(InfoSecs);
+ HTInfoMsg(CANCELLED);
return(FALSE);
}
goto check_recall;
@@ -337,8 +332,7 @@ check_recall:
* Restore prev_target and return. - FM
*/
strcpy(prev_target, prev_target_buffer);
- _statusline(CANCELLED);
- sleep(InfoSecs);
+ HTInfoMsg(CANCELLED);
return(FALSE);
}
goto check_recall;