summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/slider.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-09-15 19:04:22 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-09-15 19:04:22 -0400
commit98d3ff017559dca74323291d1473e30aacb6ab27 (patch)
tree03635ca95713e18e717ab5eecf7d437bb2f8dc97 /src/frontend/mame/ui/slider.h
parent971335373540157f9d9a67db272fcc84cd9aa628 (diff)
Use std::unique_ptr to manage instances of slider_state (nw)
Diffstat (limited to 'src/frontend/mame/ui/slider.h')
-rw-r--r--src/frontend/mame/ui/slider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/slider.h b/src/frontend/mame/ui/slider.h
index 75f2bd3336e..5e0613743aa 100644
--- a/src/frontend/mame/ui/slider.h
+++ b/src/frontend/mame/ui/slider.h
@@ -32,7 +32,7 @@ struct slider_state
int32_t maxval; /* maximum value */
int32_t incval; /* increment value */
int id;
- char description[1]; /* textual description */
+ std::string description; /* textual description */
};
#endif // __UI_SLIDER__