[beast: 19/24] PLUGINS: use Rapicorn's string_format()



commit 7caa010a5742d40091fcaea4cab1b85b48a2327c
Author: Tim Janik <timj gnu org>
Date:   Wed Sep 23 11:10:29 2015 +0200

    PLUGINS: use Rapicorn's string_format()

 plugins/evaluator/symbols.hh |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/evaluator/symbols.hh b/plugins/evaluator/symbols.hh
index 94cfdd3..580d70c 100644
--- a/plugins/evaluator/symbols.hh
+++ b/plugins/evaluator/symbols.hh
@@ -42,9 +42,7 @@ public:
                return smi->first;
        }
 
-       char buffer[1024];
-       sprintf(buffer,"R%02d", reg);
-       return buffer;
+       return string_format ("R%02d", reg);
     }
 
     void clear()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]