summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-02-05 07:37:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-02-05 07:37:30 -0800
commit30c008e52d3c911ff6315c22633fbfec34487003 (patch)
tree36d7a44f268dd1b450aa3d35bf52da281803a1a3 /win
parentf77ec315116bcdf4514b40a1e4dac02ad4d165cc (diff)
downloadtxr-30c008e52d3c911ff6315c22633fbfec34487003.tar.gz
txr-30c008e52d3c911ff6315c22633fbfec34487003.tar.bz2
txr-30c008e52d3c911ff6315c22633fbfec34487003.zip
* win/env.nsh: Before the potentially length SendMessage,
print an informative message.
Diffstat (limited to 'win')
-rw-r--r--win/env.nsh4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/env.nsh b/win/env.nsh
index 538302c2..b287b89a 100644
--- a/win/env.nsh
+++ b/win/env.nsh
@@ -320,7 +320,9 @@ Function ${UN}EnvVarUpdate
Goto EnvVarUpdate_Restore_Vars
; "Export" our change
- SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
+ DetailPrint "The following can take long due to unresponsive processes:"
+ DetailPrint "Notifying each process about environment change ..."
+ SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=50
EnvVarUpdate_Restore_Vars:
;