summaryrefslogtreecommitdiff
path: root/windows/findfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows/findfile.c')
-rw-r--r--windows/findfile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/windows/findfile.c b/windows/findfile.c
index aed43b0bf..7323666d3 100644
--- a/windows/findfile.c
+++ b/windows/findfile.c
@@ -86,14 +86,14 @@ static char *realpath(const char *path, char *resolved_path)
/**
* Locate a shared resource file by searching known places in order.
*
+ * Search order is: ~/.netsurf/, $NETSURFRES/ (where NETSURFRES is an
+ * environment variable), then the path specified in
+ * NETSURF_WINDOWS_RESPATH in the Makefile then .\\res\\ [windows paths]
+ *
* \param buf buffer to write to. must be at least PATH_MAX chars
* \param filename file to look for
* \param def default to return if file not found
- * \return buf
- *
- * Search order is: ~/.netsurf/, $NETSURFRES/ (where NETSURFRES is an
- * environment variable), then the path specified in
- * NETSURF_WINDOWS_RESPATH in the Makefile then .\res\ [windows paths]
+ * \return The passed in buffer
*/
char *nsws_find_resource(char *buf, const char *filename, const char *def)