This is the diff -u file for the gtkpacket.c file. I renamed the old
file gtkpacket.c.old.
This just puts a space every BYTE_VIEW_SEP byte. More to come in the
next days.
--- gtkpacket.c.old Thu Apr 8 11:31:52 1999
+++ gtkpacket.c Thu Apr 8 11:39:51 1999
@@ -49,6 +49,7 @@
#endif
#define BYTE_VIEW_WIDTH 16
+#define BYTE_VIEW_SEP 8
extern GtkWidget *byte_view;
extern GdkFont *m_r_font, *m_b_font;
@@ -78,6 +79,8 @@
}
line[cur++] = ' ';
i++;
+ /* insert a space every BYTE_VIEW_SEP bytes */
+ if( ( i % BYTE_VIEW_SEP ) == 0 ) line[cur++] = ' ';
/* Did we cross a bold/plain boundary? */
new_font = (i >= bstart && i < (bstart + blen)) ? m_b_font :
m_r_font;
if (cur_font != new_font) {
@@ -99,6 +102,8 @@
line[cur++] = ' ';
}
i++;
+ /* insert a space every BYTE_VIEW_SEP bytes */
+ if( ( i % BYTE_VIEW_SEP ) == 0 ) line[cur++] = ' ';
/* Did we cross a bold/plain boundary? */
new_font = (i >= bstart && i < (bstart + blen)) ? m_b_font :
m_r_font;
if (cur_font != new_font) {