diff options
Diffstat (limited to 'src/formula.h')
-rw-r--r-- | src/formula.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/formula.h b/src/formula.h index c57c4bb..c88e409 100644 --- a/src/formula.h +++ b/src/formula.h | |||
@@ -44,8 +44,9 @@ namespace Bu | |||
44 | { | 44 | { |
45 | } | 45 | } |
46 | 46 | ||
47 | prec run( const char *sFormula ) | 47 | prec run( const Bu::FString &sFormulaSrc ) |
48 | { | 48 | { |
49 | const char *sFormula = sFormulaSrc.getStr(); | ||
49 | for(;;) | 50 | for(;;) |
50 | { | 51 | { |
51 | uint8_t tNum = nextToken( &sFormula ); | 52 | uint8_t tNum = nextToken( &sFormula ); |