Skip to content

Commit db9bbf4

Browse files
committed
FLTK: fix file save as handling
1 parent 3d5a866 commit db9bbf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platform/fltk/FileWidget.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ void FileWidget::displayPath() {
368368
html.append("<b>Save ").append(slash ? slash + 1 : path).append(" as:<font size=3><br>")
369369
.append("<input size=220 type=text value='").append(slash ? slash + 1 : path)
370370
.append("' name=saveas>&nbsp;<input type=button onclick='")
371-
.append(CMD_SAVE_AS).append("' value='Save As'><br><font size=2>");
371+
.append(CMD_SAVE_AS).append("' value='Save As'><br><font size=1>");
372372
}
373373

374374
_recentPaths->sort(stringCompare);

src/platform/fltk/HelpWidget.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2372,7 +2372,7 @@ void HelpWidget::compile() {
23722372
} else {
23732373
prop = p.get("size");
23742374
if (prop != NULL) {
2375-
fontSize = 7 + (prop->toInteger() * 2);
2375+
fontSize = (int)labelsize() + (prop->toInteger() - 1);
23762376
}
23772377
}
23782378
prop = p.get("face");

0 commit comments

Comments
 (0)