summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa6db1b)
raw | patch | inline | side by side (parent: fa6db1b)
author | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 26 Jan 2009 11:52:56 +0000 (12:52 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 26 Jan 2009 11:53:51 +0000 (12:53 +0100) |
tig.c | patch | blob | history |
index ec7f26732597b98e5f6d36d4c78692cee9cf8839..48f1a1ec643e8ecd9f2202df0b93e6344dc05bb8 100644 (file)
--- a/tig.c
+++ b/tig.c
line = out_buffer;
}
- if (!view->ops->read(view, line))
- goto alloc_error;
+ if (!view->ops->read(view, line)) {
+ report("Allocation failure");
+ end_update(view, TRUE);
+ return FALSE;
+ }
}
{
* commit reference in view->ref it'll be available here. */
update_view_title(view);
return TRUE;
-
-alloc_error:
- report("Allocation failure");
- end_update(view, TRUE);
- return FALSE;
}
static struct line *