summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/formula.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-11 17:50:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-11 17:50:10 +0000
commit393c8dd0345138e00b6a5a1e13b06f60c83e02e8 (patch)
treeefe30c65cd729d81af51bd2bacdd093a32d38d81 /plugins/Popup/src/formula.cpp
parent075c7d0030e543e59adceae9e73c73cbb661482f (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.cpp')
-rw-r--r--plugins/Popup/src/formula.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Popup/src/formula.cpp b/plugins/Popup/src/formula.cpp
index eaeedbc261..f4f1a1b2f1 100644
--- a/plugins/Popup/src/formula.cpp
+++ b/plugins/Popup/src/formula.cpp
@@ -28,7 +28,7 @@ static inline bool myisspace(char ch)
return (ch >= 0) && (ch <= 32);
}
-int Formula::eval_neq(char *&s, Args *args, bool *vars) const
+int Formula::eval_neq(TCHAR *&s, Args *args, bool *vars) const
{
int left = eval_sum(s, args, vars);
while (*s)
@@ -56,7 +56,7 @@ int Formula::eval_neq(char *&s, Args *args, bool *vars) const
return left;
}
-int Formula::eval_sum(char *&s, Args *args, bool *vars) const
+int Formula::eval_sum(TCHAR *&s, Args *args, bool *vars) const
{
int left = eval_mul(s, args, vars);
while (*s)
@@ -80,7 +80,7 @@ int Formula::eval_sum(char *&s, Args *args, bool *vars) const
return left;
}
-int Formula::eval_mul(char *&s, Args *args, bool *vars) const
+int Formula::eval_mul(TCHAR *&s, Args *args, bool *vars) const
{
int left = eval_atom(s, args, vars);
while (*s)
@@ -110,7 +110,7 @@ int Formula::eval_mul(char *&s, Args *args, bool *vars) const
return left;
}
-int Formula::eval_atom(char *&s, Args *args, bool *vars) const
+int Formula::eval_atom(TCHAR *&s, Args *args, bool *vars) const
{
while (*s)
{
@@ -162,7 +162,7 @@ int Formula::eval_atom(char *&s, Args *args, bool *vars) const
int Formula::eval(Args *args, bool *vars) const
{
if (vars) *vars = false;
- char *s = m_str;
+ TCHAR *s = m_str;
int res = eval_neq(s, args, vars);
return res;
}