Skip to content

Commit

Permalink
Merge pull request #656 from Drazinut/patch-1
Browse files Browse the repository at this point in the history
correct typo in a comment that was backwards
  • Loading branch information
edap committed Jan 3, 2019
2 parents c36048d + dd219e2 commit 2f9521d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/utils/ofFile.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ _description: _
If the ofFile contains a file path that doesn't exist yet, calling create() generates the file.

~~~~{.cpp}
ofFile newFile(ofToDataPath("temp.txt"), ofFile::Write); //file doesn't exist yet
ofFile newFile(ofToDataPath("temp.txt"), ofFile::Write); // file doesn't exist yet
newFile.create(); // now file exists
~~~~

Expand Down Expand Up @@ -1319,8 +1319,8 @@ ofFile fileToRead(ofToDataPath("dictionary.txt")); // a file that exists
~~~~

~~~~{.cpp}
ofFile newFile(ofToDataPath("temp.txt"), ofFile::Write); //file doesn't exist yet
newFile.create(); // now file doesn't exist
ofFile newFile(ofToDataPath("temp.txt"), ofFile::Write); // file doesn't exist yet
newFile.create(); // now file exists
~~~~


Expand Down

0 comments on commit 2f9521d

Please sign in to comment.