# # # patch "std_hooks.lua" # from [087e287f6143878f2094f26a40b32cc6910ac74f] # to [9fe85754c15306b39ba5140045b33684ad7b0f10] # ============================================================ --- std_hooks.lua 087e287f6143878f2094f26a40b32cc6910ac74f +++ std_hooks.lua 9fe85754c15306b39ba5140045b33684ad7b0f10 @@ -236,7 +236,7 @@ function edit_comment(basetext, user_log function edit_comment(basetext, user_log_message) local exe = nil if (program_exists_in_path("vi")) then exe = "vi" end - if (string.sub(ostype, 1, 6) ~= "CYGWIN" and program_exists_in_path("notepad.exe")) then exe = "notepad.exe" end + if (string.sub(get_ostype(), 1, 6) ~= "CYGWIN" and program_exists_in_path("notepad.exe")) then exe = "notepad.exe" end local debian_editor = io.open("/usr/bin/editor") if (debian_editor ~= nil) then debian_editor:close()