summaryrefslogtreecommitdiff
path: root/src/filename_setext.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2009-01-20 11:10:29 +0000
committerFabien Costantini <fabien@onepost.net>2009-01-20 11:10:29 +0000
commitb00d2bfa421b1f93bad5bb44899510d933fea36a (patch)
tree425f1a37700d564c40e60b7c7a94281e742e88fa /src/filename_setext.cxx
parent8d590e0ed8bc1f4b4d7886cca0701fcce2e1fe4d (diff)
Doxygen documentation
+ Added a new Module section named : File names and URI utility funtions + updated the pdf file adequately git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/filename_setext.cxx')
-rw-r--r--src/filename_setext.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filename_setext.cxx b/src/filename_setext.cxx
index ac93765c3..28c3ddc22 100644
--- a/src/filename_setext.cxx
+++ b/src/filename_setext.cxx
@@ -32,6 +32,10 @@
#include <FL/filename.H>
#include "flstring.h"
+/**
+ Replaces the extension in \a buf of max. size \a buflen with the extension in \a ext.
+ \return buf itself for calling convenience.
+*/
char *fl_filename_setext(char *buf, int buflen, const char *ext) {
char *q = (char *)fl_filename_ext(buf);
if (ext) {