From 5a3baddd254070d5accbca21c325cfeca49990c9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 27 Aug 2014 17:49:44 -0400 Subject: [PATCH] Resolved a TODO. --- redo/dialog_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?