X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=filebrowser%2Fpath.c;h=66c9ab5a9d4ed9d97a209695e3ef231ae4c18fe3;hb=cde66749ec8a0b3c823bbc7aa3818b86821514ec;hp=a68b7c1f9b10c28a3044191cc3fb0bafa35a80a2;hpb=06b5a50aad20aa87c684df59405889dd845d6c31;p=xboard.git diff --git a/filebrowser/path.c b/filebrowser/path.c index a68b7c1..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 @@ -182,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;