SF.net SVN: geany: [2382] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri Mar 21 17:10:16 UTC 2008
Revision: 2382
http://geany.svn.sourceforge.net/geany/?rev=2382&view=rev
Author: ntrel
Date: 2008-03-21 10:10:08 -0700 (Fri, 21 Mar 2008)
Log Message:
-----------
Fix asking detect reload question again if the user doesn't respond
within 10 seconds (oops).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-03-21 16:59:30 UTC (rev 2381)
+++ trunk/ChangeLog 2008-03-21 17:10:08 UTC (rev 2382)
@@ -25,6 +25,9 @@
* src/dialogs.c, src/document.c:
Replace untitled file header filename after Save As and add to recent
files on Windows too.
+ * src/utils.c:
+ Fix asking detect reload question again if the user doesn't respond
+ within 10 seconds (oops).
2008-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c 2008-03-21 16:59:30 UTC (rev 2381)
+++ trunk/src/utils.c 2008-03-21 17:10:08 UTC (rev 2382)
@@ -377,7 +377,10 @@
else if (doc_list[idx].mtime < st.st_mtime)
{
if (check_reload(idx))
- doc_list[idx].last_check = t + delay_time; /* Disable checking until after reload */
+ {
+ /* Disable checking until after reload */
+ doc_list[idx].last_check = time(NULL) + delay_time;
+ }
else
doc_list[idx].mtime = st.st_mtime; /* Ignore this change on disk completely */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list