]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Dirk can't count to ten
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Sep 2011 21:21:30 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Sep 2011 21:21:30 +0000 (14:21 -0700)
That's ok, Dirk. I've got your back.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
info.c

diff --git a/info.c b/info.c
index 66233e32ab19c97d9ed109ac5e471b28c9e77f1d..e9ecc9f503822920be82f86daa10c21d8ec9eafa 100644 (file)
--- a/info.c
+++ b/info.c
@@ -86,7 +86,7 @@ void show_dive_info(struct dive *dive)
        }
        text = buffer;
        if (!dive->number)
-               text += 9;      /* Skip the "Dive 0 - " part */
+               text += 10;     /* Skip the "Dive #0 - " part */
        gtk_window_set_title(GTK_WINDOW(main_window), text);
 
        /* the date goes in the frame label */