summaryrefslogtreecommitdiffstats
path: root/libass/ass_utils.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-07-10 23:55:02 +0200
committerGrigori Goronzy <greg@blackbox>2009-07-11 00:03:56 +0200
commit613a22ab9b96453c10de6d75b43067652ad6d7db (patch)
tree76405fc5c113cb602f0778c85413fcb421aa127f /libass/ass_utils.c
parent9305f3815442f8c0bd735e96832b7f72628bfcad (diff)
downloadlibass-613a22ab9b96453c10de6d75b43067652ad6d7db.tar.bz2
libass-613a22ab9b96453c10de6d75b43067652ad6d7db.tar.xz
Replace string defines with real strings
Instead of referencing string defines from help_mp.h, use the strings directly in ass_msg. Consequently, help_mp.h is useless and can be deleted.
Diffstat (limited to 'libass/ass_utils.c')
-rw-r--r--libass/ass_utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libass/ass_utils.c b/libass/ass_utils.c
index 66b508d..6e45b02 100644
--- a/libass/ass_utils.c
+++ b/libass/ass_utils.c
@@ -29,7 +29,6 @@
int mystrtoi(char **p, int *res)
{
- // NOTE: base argument is ignored, but not used in libass anyway
double temp_res;
char *start = *p;
temp_res = strtod(*p, p);
@@ -126,7 +125,9 @@ void ass_msg(int lvl, char *fmt, ...)
if (lvl > MSGL_INFO)
return;
va_start(va, fmt);
+ printf("[ass] ");
vprintf(fmt, va);
+ printf("\n");
va_end(va);
}