diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-11 17:50:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-11 17:50:10 +0000 |
commit | 393c8dd0345138e00b6a5a1e13b06f60c83e02e8 (patch) | |
tree | efe30c65cd729d81af51bd2bacdd093a32d38d81 /plugins/Popup/src/formula.h | |
parent | 075c7d0030e543e59adceae9e73c73cbb661482f (diff) |
ansi popups dead
git-svn-id: http://svn.miranda-ng.org/main/trunk@9433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/formula.h')
-rw-r--r-- | plugins/Popup/src/formula.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Popup/src/formula.h b/plugins/Popup/src/formula.h index 974d02da35..7115b25dad 100644 --- a/plugins/Popup/src/formula.h +++ b/plugins/Popup/src/formula.h @@ -72,17 +72,17 @@ public: };
private:
- char *m_str;
- int eval_neq (char *&s, Args *args, bool *vars) const;
- int eval_sum (char *&s, Args *args, bool *vars) const;
- int eval_mul (char *&s, Args *args, bool *vars) const;
- int eval_atom(char *&s, Args *args, bool *vars) const;
+ TCHAR *m_str;
+ int eval_neq (TCHAR *&s, Args *args, bool *vars) const;
+ int eval_sum(TCHAR *&s, Args *args, bool *vars) const;
+ int eval_mul(TCHAR *&s, Args *args, bool *vars) const;
+ int eval_atom(TCHAR *&s, Args *args, bool *vars) const;
public:
- Formula():m_str(mir_strdup("")) {}
- Formula(char *s):m_str(mir_strdup(s)) {}
+ Formula():m_str(mir_tstrdup(_T(""))) {}
+ Formula(TCHAR *s):m_str(mir_tstrdup(s)) {}
~Formula() {mir_free(m_str);}
- void set(char *s){mir_free(m_str);m_str=mir_strdup(s);}
+ void set(TCHAR *s){mir_free(m_str);m_str=mir_tstrdup(s);}
int eval(Args *args, bool *vars = 0) const;
};
|