diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-27 17:49:44 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-27 17:49:44 -0400 |
| commit | 5a3baddd254070d5accbca21c325cfeca49990c9 (patch) | |
| tree | 652c0b2df44c166946f55b0673340908df49262f /redo/dialog_windows.c | |
| parent | 554c67371fb4b5ae774bd5f0bd78e383dc8cc288 (diff) | |
Resolved a TODO.
Diffstat (limited to 'redo/dialog_windows.c')
| -rw-r--r-- | redo/dialog_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/dialog_windows.c b/redo/dialog_windows.c index 10fb75c..f8ef687 100644 --- a/redo/dialog_windows.c +++ b/redo/dialog_windows.c @@ -25,7 +25,7 @@ static DWORD WINAPI doOpenFile(LPVOID data) ofn.hInstance = hInstance; ofn.lpstrFilter = NULL; // no filters ofn.lpstrFile = o->filenameBuffer; - ofn.nMaxFile = NFILENAME + 1; // TODO include + 1? + ofn.nMaxFile = NFILENAME + 1; // seems to include null terminator according to docs ofn.lpstrInitialDir = NULL; // let system decide ofn.lpstrTitle = NULL; // let system decide // TODO OFN_SHAREAWARE? |
