diff --git a/include/ui.hpp b/include/ui.hpp index abd12899..b9c15129 100644 --- a/include/ui.hpp +++ b/include/ui.hpp @@ -74,7 +74,7 @@ struct Menu : OpaqueWidget { } ~Menu(); /** Deprecated. Just use addChild(child) instead */ - void pushChild(Widget *child) DEPRECATED { + DEPRECATED void pushChild(Widget *child) { addChild(child); } void setChildMenu(Menu *menu); diff --git a/include/util/common.hpp b/include/util/common.hpp index 17ae9d66..da46bcc2 100644 --- a/include/util/common.hpp +++ b/include/util/common.hpp @@ -118,7 +118,7 @@ float randomUniform(); /** Returns a normal random number with mean 0 and standard deviation 1 */ float randomNormal(); -inline float DEPRECATED randomf() {return randomUniform();} +DEPRECATED inline float randomf() {return randomUniform();} //////////////////// // String utilities diff --git a/src/app/RackWidget.cpp b/src/app/RackWidget.cpp index 4173a33a..ba02a202 100644 --- a/src/app/RackWidget.cpp +++ b/src/app/RackWidget.cpp @@ -60,7 +60,7 @@ void RackWidget::clear() { } void RackWidget::reset() { - if (osdialog_message(OSDIALOG_INFO, OSDIALOG_OK_CANCEL, "Clear your patch and start over?")) { + if (osdialog_message(OSDIALOG_INFO, OSDIALOG_OK_CANCEL, "Clear patch and start over?")) { clear(); // Fails silently if file does not exist loadPatch(assetLocal("template.vcv")); @@ -159,7 +159,7 @@ void RackWidget::loadPatch(std::string path) { void RackWidget::revert() { if (lastPath.empty()) return; - if (osdialog_message(OSDIALOG_INFO, OSDIALOG_OK_CANCEL, "Revert your patch to the last saved state?")) { + if (osdialog_message(OSDIALOG_INFO, OSDIALOG_OK_CANCEL, "Revert patch to the last saved state?")) { loadPatch(lastPath); } }