summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_File_Chooser2.cxx2
-rw-r--r--src/Fl_Preferences.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index 71c51f8ac..791a97c19 100644
--- a/src/Fl_File_Chooser2.cxx
+++ b/src/Fl_File_Chooser2.cxx
@@ -1264,7 +1264,7 @@ Fl_File_Chooser::update_preview()
newlabel = "@-3refresh"; // a cross
set = 1;
} else if (s.st_size==0) {
- // this file is emty
+ // this file is empty
newlabel = "<empty file>";
set = 1;
} else {
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx
index 7491b8224..77683c597 100644
--- a/src/Fl_Preferences.cxx
+++ b/src/Fl_Preferences.cxx
@@ -965,7 +965,7 @@ char Fl_Preferences::RootNode::getPath( char *path, int pathlen ) {
if ( (ext==0L) || (ext<name) ) {
if (strlen(name)==0) {
- // emty filenames will create a path with "data/" as a driectory name
+ // empty filenames will create a path with "data/" as a directory name
strlcat( path, "data", pathlen );
} else {
// filenames without extension will create a path with a ".data" extension