X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=filebrowser%2Fpath.c;h=66c9ab5a9d4ed9d97a209695e3ef231ae4c18fe3;hb=29f26a97a226db6e7bdd0927e67cf5a5ce3dd065;hp=a44a16677c6d68ee023f46fa332a660dae82aedb;hpb=20e3f2756231ecf4af48cfd63e04e1932b2aaacc;p=xboard.git diff --git a/filebrowser/path.c b/filebrowser/path.c index a44a166..66c9ab5 100644 --- a/filebrowser/path.c +++ b/filebrowser/path.c @@ -26,7 +26,7 @@ #include #include /* for qsort */ -#include "../config.h" +#include "config.h" #ifdef SEL_FILE_IGNORE_CASE #include @@ -34,8 +34,8 @@ #include #include -#include "selfile.h" #include "xstat.h" +#include "selfile.h" #include #ifndef MAXPATHLEN @@ -46,14 +46,6 @@ extern uid_t getuid(); #endif /* def HAS_DIRENT_H */ -/* added missing prototypes */ -extern void SFtextChanged(); -extern int SFgetDir(SFDir *); -extern void SFdrawLists(int); -extern void SFdrawList(int, int); -extern void SFclearList(int, int); -extern void SFmotionList(Widget, int, XMotionEvent*); - typedef struct { char *name; char *dir; @@ -190,23 +182,6 @@ SFstrncmp(p, q, n) } #endif /* def SEL_FILE_IGNORE_CASE */ -void -SFsetText(path) - char *path; -{ - XawTextBlock text; - - text.firstPos = 0; - text.length = strlen(path); - text.ptr = path; - text.format = FMT8BIT; - - XawTextReplace(selFileField, 0, strlen(SFtextBuffer), &text); - XawTextSetInsertionPoint(selFileField, strlen(SFtextBuffer)); - - return; -} - static void SFreplaceText(dir, str) SFDir *dir;