projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af7847
)
Fixed none remove file for editor command.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 2 Nov 2013 17:41:37 +0000
(18:41 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 2 Nov 2013 17:47:20 +0000
(18:47 +0100)
src/input.c
patch
|
blob
|
history
src/map.c
patch
|
blob
|
history
diff --git
a/src/input.c
b/src/input.c
index
5f46947
..
d4d40ec
100644
(file)
--- a/
src/input.c
+++ b/
src/input.c
@@
-18,6
+18,7
@@
*/
#include "config.h"
+#include <glib/gstdio.h>
#include "mode.h"
#include "main.h"
#include "input.h"
@@
-146,6
+147,7
@@
static void resume_editor(GPid pid, int status, EditorData *data)
}
dom_editable_element_set_disable(data->element, false);
+ g_unlink(data->file);
g_free(data->file);
g_free(data);
g_spawn_close_pid(pid);
diff --git
a/src/map.c
b/src/map.c
index
fe67a57
..
bd6ea2a
100644
(file)
--- a/
src/map.c
+++ b/
src/map.c
@@
-159,7
+159,7
@@
gboolean map_keypress(GtkWidget *widget, GdkEventKey* event, gpointer data)
}
/**
- * Added the given key sequence
ot the key queue and precesse
s the mapping of
+ * Added the given key sequence
to the key queue and proces
s the mapping of
* chars. The key sequence do not need to be NUL terminated.
* Keylen of 0 signalized a key timeout.
*/