This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch][gui] stupid formatting and file header merge


Hi,

On Sat, 2005-02-12 at 14:46 -0600, Michael Koch wrote:
> 	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
> 	Removed debug code.

If all you wanted to do was removing debug code, was the following hunk
intentional?

--- jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c    8 Feb 2005 05:22:48 -0000       1.2.14.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c    12 Feb 2005 14:51:47 -0000
@@ -133,6 +133,9 @@
 
   if (attrs == NULL)
     attrs = pango_attr_list_new ();
+
+  if (len > 0 && str[len-1] == '\0')
+    len--;
   
   items = pango_itemize (pfont->ctx, str, 0, len, attrs, NULL);

Everything else was indeed just indenting and removing commented out
code.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]