diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-25 18:20:02 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-25 18:20:08 +0100 |
| commit | 34ed30fe1a710f6294e23003aa385bd6da6cb326 (patch) | |
| tree | 4fb8628a64a3c2943b23a9f7646206cb38bba69a /test/grid_dialog.cxx | |
| parent | 00808500926af83a531fc1fdc0b2df9716743e8b (diff) | |
Adds `linespacing()` to `Fl_Browser_` and all derived widgets
Diffstat (limited to 'test/grid_dialog.cxx')
| -rw-r--r-- | test/grid_dialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/grid_dialog.cxx b/test/grid_dialog.cxx index 72ffe66b4..ae393cb22 100644 --- a/test/grid_dialog.cxx +++ b/test/grid_dialog.cxx @@ -86,7 +86,7 @@ void button_cb(Fl_Widget *w, void *v) { break; case 1: { // Copy const char *text = message_box->label(); - const int len = strlen(text); + const int len = (int)strlen(text); Fl::copy(text, len, 1); } printf("Message copied to clipboard.\n"); |
