summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-16 22:39:46 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-16 22:39:46 +0000
commite9596e2405f2e63f5a491832d9ab20b59973f1a1 (patch)
treeb263de2f16fa9cdb4fe512eacf23795fb3cab2f4 /mp_msg.c
parentd3d2c67a041430d92cb0eb8aafad553f6f2c7cc5 (diff)
downloadmpv-e9596e2405f2e63f5a491832d9ab20b59973f1a1.tar.bz2
mpv-e9596e2405f2e63f5a491832d9ab20b59973f1a1.tar.xz
constans shortend
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1564 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 081bb7f5d2..211ddb2d8c 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -20,9 +20,11 @@ void mp_msg_c( int x, const char *format, ... ){
va_list va;
if((x&255)>mp_msg_levels[x>>8]) return; // do not display
va_start(va, format);
- if((x&255)<=MSGL_ERROR){
+ if((x&255)<=MSGL_ERR){
+ fprintf(stderr,"%%%%%% ");
vfprintf(stderr,format, va);
} else {
+ printf("%%%%%% ");
vprintf(format, va);
}
va_end(va);