chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3621d94
)
Always clear the status window after prompting
author
Jonas Fonseca
<fonseca@diku.dk>
Mon, 18 Sep 2006 16:02:36 +0000
(18:02 +0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Mon, 18 Sep 2006 16:02:36 +0000
(18:02 +0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 471fa4dd6bd37f578e6c6f9c64a332d8904de2ae..f5f536c8367684ea43bb1795a4f44461f0826904 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-3269,12
+3269,12
@@
read_prompt(const char *prompt)
}
}
- if (status == CANCEL) {
- /* Clear the status window */
- status_empty = FALSE;
- report("");
+ /* Clear the status window */
+ status_empty = FALSE;
+ report("");
+
+ if (status == CANCEL)
return NULL;
- }
buf[pos++] = 0;