From 46a8f2bdc5dba50993c1c524fb48df7b73043903 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sun, 17 Apr 2005 10:02:58 +0000 Subject: [PATCH] * view.c: Corrected some typos and indentation. --- src/ChangeLog | 1 + src/view.c | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index cde87ce5a..13a10ad5a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -14,6 +14,7 @@ * view.c (view): Rewrote the code a little bit. * view.h (view): Rewrote the comment. * view.c: Eliminated some ?: operators. + * view.c: Corrected some typos and indentation. 2005-04-16 Roland Illig diff --git a/src/view.c b/src/view.c index a17e460c8..50ce142e1 100644 --- a/src/view.c +++ b/src/view.c @@ -279,7 +279,8 @@ view_get_datacolumns (WView *view) return 0; } -static void view_hexview_move_to_eol(WView *view) +static void +view_hexview_move_to_eol(WView *view) { offset_type filesize, linestart; @@ -311,7 +312,7 @@ view_done (WView *view) static void view_hook (void *); /* Copies the output from the pipe to the growing buffer, until either - * the end-of-pipe is reached or the interval [0..ofs) of the growing + * the end-of-pipe is reached or the interval [0..ofs) or the growing * buffer is completely filled. */ static void view_growbuf_read_until (WView *view, offset_type ofs) @@ -517,7 +518,7 @@ view_ok_to_quit (WView *view) return 1; r = query_dialog (_("Quit"), - _(" File was modified, Save with exit? "), 2, 3, + _(" File was modified, Save with exit? "), D_NORMAL, 3, _("&Cancel quit"), _("&Yes"), _("&No")); switch (r) {