1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Remove newlines in legal panel.

The label containing the legal information in the legal panel was set to wrap.
However, there were redundant newlines in the text itself.  In wider fonts, this
had the effect of the legal text not completely fitting in the legal panel.

This patch removes the unnecessary newlines.
This commit is contained in:
Doug Torrance
2013-11-01 19:12:31 -05:00
committed by Carlos R. Mafra
parent 0d45deff07
commit 8b1babc5b3

View File

@@ -1419,17 +1419,17 @@ void wShowLegalPanel(WScreen * scr)
WMMoveWidget(panel->licenseL, 10, 10); WMMoveWidget(panel->licenseL, 10, 10);
WMSetLabelTextAlignment(panel->licenseL, WALeft); WMSetLabelTextAlignment(panel->licenseL, WALeft);
WMSetLabelText(panel->licenseL, WMSetLabelText(panel->licenseL,
_(" Window Maker is free software; you can redistribute it and/or\n" _(" Window Maker is free software; you can redistribute it and/or "
"modify it under the terms of the GNU General Public License as\n" "modify it under the terms of the GNU General Public License as "
"published by the Free Software Foundation; either version 2 of the\n" "published by the Free Software Foundation; either version 2 of the "
"License, or (at your option) any later version.\n\n" "License, or (at your option) any later version.\n\n"
" Window Maker is distributed in the hope that it will be useful,\n" " Window Maker is distributed in the hope that it will be useful, "
"but WITHOUT ANY WARRANTY; without even the implied warranty\n" "but WITHOUT ANY WARRANTY; without even the implied warranty "
"of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" "of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. "
"See the GNU General Public License for more details.\n\n" "See the GNU General Public License for more details.\n\n"
" You should have received a copy of the GNU General Public\n" " You should have received a copy of the GNU General Public "
"License along with this program; if not, write to the Free Software\n" "License along with this program; if not, write to the Free Software "
"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n" "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA"
"02110-1301 USA.")); "02110-1301 USA."));
WMSetLabelRelief(panel->licenseL, WRGroove); WMSetLabelRelief(panel->licenseL, WRGroove);