Commit 146b8675 by Scott Gilbertson Committed by Tom Tromey

natGC.cc (drawString): Removed obsolete code.

2003-05-08  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.

From-SVN: r66608
parent 67f7893c
2003-05-08 Scott Gilbertson <scottg@mantatest.com>
* gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2003-05-06 Tom Tromey <tromey@redhat.com>
* verify.cc: Reverted previous patch.
......
......@@ -115,14 +115,6 @@ void gnu::gcj::xlib::GC::drawString(jstring text, jint x, jint y)
xc->byte2 = jc & 0xff;
}
XDrawString16(dpy, drawableXID, gc, x, y, xwchars, length);
// FIXME, temporary code:
int len = JvGetStringUTFLength(text);
char ctxt[len+1];
JvGetStringUTFRegion(text, 0, text->length(), ctxt);
ctxt[len] = '\0';
XDrawString(dpy, drawableXID, gc, x, y, ctxt, len);
// no fast fail
}
void gnu::gcj::xlib::GC::drawLine(jint x1, jint y1, jint x2, jint y2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment