From 09334e71a0277ecf00e45b389c9238a150e13317 Mon Sep 17 00:00:00 2001 From: Selva Nair Date: Thu, 4 Feb 2016 23:41:02 -0500 Subject: [PATCH] Fix the path of notepad.exe Signed-off-by: Selva Nair --- registry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry.c b/registry.c index 923c7dd2..f2205668 100644 --- a/registry.c +++ b/registry.c @@ -93,11 +93,11 @@ GetRegistryKeys() if (!GetRegKey(_T("priority"), o.priority_string, _T("NORMAL_PRIORITY_CLASS"), _countof(o.priority_string))) return(false); - _sntprintf_0(temp_path, _T("%s\\notepad.exe"), windows_dir); + _sntprintf_0(temp_path, _T("%s\\system32\\notepad.exe"), windows_dir); if (!GetRegKey(_T("log_viewer"), o.log_viewer, temp_path, _countof(o.log_viewer))) return(false); - _sntprintf_0(temp_path, _T("%s\\notepad.exe"), windows_dir); + _sntprintf_0(temp_path, _T("%s\\system32\\notepad.exe"), windows_dir); if (!GetRegKey(_T("editor"), o.editor, temp_path, _countof(o.editor))) return(false);