Ethereal-dev: [Ethereal-dev] gtk/tcp_graph.c patch against 0.9.0

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Albert Chin <ethereal-dev@xxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Jan 2002 13:38:25 -0600
Need to end lines with "\" when string exceeds more than one line. The
Solaris C compiler dies otherwise.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

-- snip snip
--- gtk/tcp_graph.c.orig	Thu Jan  3 12:02:15 2002
+++ gtk/tcp_graph.c	Thu Jan  3 12:02:24 2002
@@ -508,7 +508,7 @@
 
 static char helptext[] =
 #ifndef WIN32
-"Here's what you can do:\n
+"Here's what you can do:\n\
 - Left Mouse Button selects segment in ethereal's packet list\n\
 - Middle Mouse Button zooms in\n\
 - <shift>-Middle Button zooms out\n\
@@ -516,7 +516,7 @@
 - <ctrl>-Right Mouse Button displays a portion of graph magnified\n\
 - Space toggles crosshairs\n\
 - 's' toggles relative/absolute sequence numbers\n\
-- 't' toggles time origin\n
+- 't' toggles time origin\n\
 ";
 #else /* WIN32 */
 "Here's what you can do:\n\