Skip to content
Browse files

Fix OpenFile example (#1120)

"rb" = binary file for *reading* (not writing, that would be "wb").
  • Loading branch information
hydrogen-mvm authored and KyleSanderson committed Nov 12, 2019
1 parent 3dd1e5a commit 9e39f18230c0424d8b7ccf869193d0739b8a2bdb
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/include/
@@ -314,7 +314,7 @@ native bool ReadDirEntry(Handle dir, char[] buffer, int maxlength, FileType &typ
* Mac, this has no distinction from binary mode. On Windows, it causes the '\n'
* character (0xA) to be written as "\r\n" (0xD, 0xA).
* Example: "rb" opens a binary file for writing; "at" opens a text file for
* Example: "rb" opens a binary file for reading; "at" opens a text file for
* appending.
* @param file File to open.

0 comments on commit 9e39f18

Please sign in to comment.
You can’t perform that action at this time.