groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff ./ChangeLog src/devices/grohtml/post-html...


From: Werner LEMBERG
Subject: [Groff-commit] groff ./ChangeLog src/devices/grohtml/post-html...
Date: Wed, 26 Apr 2006 07:16:36 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Branch:         
Changes by:     Werner LEMBERG <address@hidden> 06/04/26 07:16:36

Modified files:
        .              : ChangeLog 
        src/devices/grohtml: post-html.cpp 

Log message:
        * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
        Handle current_paragraph only if it is non-NULL.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/groff/ChangeLog.diff?tr1=1.949&tr2=1.950&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/devices/grohtml/post-html.cpp.diff?tr1=1.36&tr2=1.37&r1=text&r2=text

Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.949 groff/ChangeLog:1.950
--- groff/ChangeLog:1.949       Tue Apr 25 18:51:29 2006
+++ groff/ChangeLog     Wed Apr 26 07:16:36 2006
@@ -1,3 +1,8 @@
+2006-04-26  Werner LEMBERG  <address@hidden>
+
+       * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
+       Handle current_paragraph only if it is non-NULL.
+
 2006-04-25  Tetsurou Okazaki  <address@hidden>
 
        * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
Index: groff/src/devices/grohtml/post-html.cpp
diff -u groff/src/devices/grohtml/post-html.cpp:1.36 
groff/src/devices/grohtml/post-html.cpp:1.37
--- groff/src/devices/grohtml/post-html.cpp:1.36        Mon Mar 27 17:31:06 2006
+++ groff/src/devices/grohtml/post-html.cpp     Wed Apr 26 07:16:36 2006
@@ -4932,7 +4932,8 @@
   time_t t;
 #endif
 
-  current_paragraph->flush_text();
+  if (current_paragraph)
+    current_paragraph->flush_text();
   html.end_line();
   html.set_file(stdout);
   html.begin_comment("Creator     : ")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]