workaround hacks for -preview=in dmd bugs

This commit is contained in:
Adam D. Ruppe 2022-12-21 09:06:54 -05:00
parent 1706487b0e
commit 5a8f0a7448
1 changed files with 2 additions and 2 deletions

View File

@ -9130,7 +9130,7 @@ private class TableViewWidgetInner : Widget {
default: /* broken */ break;
}
if(column.width != 0) // no point drawing an invisible column
tvw.getData(row, cast(int) columnNumber, (info) {
tvw.getData(row, cast(int) columnNumber, (in char[] info) {
// auto clip = painter.setClipRectangle(
void dotext(WidgetPainter painter) {
@ -11716,7 +11716,7 @@ abstract class EditableTextWidget : EditableTextWidgetParent {
//this.parentWindow.win.grabInput();
} else if(ev.button == MouseButton.middle) {
static if(UsingSimpledisplayX11) {
getPrimarySelection(parentWindow.win, (txt) {
getPrimarySelection(parentWindow.win, (in char[] txt) {
textLayout.insert(txt);
redraw();