summaryrefslogtreecommitdiffstats
path: root/playtreeparser.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-27 22:41:53 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-27 22:41:53 +0000
commit1c7f242c96c1fea7b34ff6630db5912f8f5634d0 (patch)
treef4f46cc2e201ccada357ac1f040f0f1a390285e1 /playtreeparser.c
parent93f8320aec6e7aa546883ff6cf36039e4e6f4aa5 (diff)
downloadmpv-1c7f242c96c1fea7b34ff6630db5912f8f5634d0.tar.bz2
mpv-1c7f242c96c1fea7b34ff6630db5912f8f5634d0.tar.xz
Typos fixed, based on patch sent by Alex.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10488 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'playtreeparser.c')
-rw-r--r--playtreeparser.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/playtreeparser.c b/playtreeparser.c
index 45cdc81e0f..04d7c96537 100644
--- a/playtreeparser.c
+++ b/playtreeparser.c
@@ -192,7 +192,7 @@ parse_asx(play_tree_parser_t* p) {
while((line = play_tree_parser_get_line(p)) != NULL)
/* NOTHING */;
- mp_msg(MSGT_PLAYTREE,MSGL_DBG3,"Parsing asx file : [%s]\n",p->buffer);
+ mp_msg(MSGT_PLAYTREE,MSGL_DBG3,"Parsing asx file: [%s]\n",p->buffer);
return asx_parser_build_tree(p->buffer,p->deep);
}
@@ -250,13 +250,13 @@ parse_pls(play_tree_parser_t* p) {
int n_entries = 0,max_entry=0,num;
play_tree_t *list = NULL, *entry = NULL, *last_entry = NULL;
- mp_msg(MSGT_PLAYTREE,MSGL_V,"Trying winamp playlist...\n");
+ mp_msg(MSGT_PLAYTREE,MSGL_V,"Trying Winamp playlist...\n");
if (!(line = play_tree_parser_get_line(p)))
return NULL;
strstrip(line);
if(strcasecmp(line,"[playlist]"))
return NULL;
- mp_msg(MSGT_PLAYTREE,MSGL_V,"Detected winamp playlist format\n");
+ mp_msg(MSGT_PLAYTREE,MSGL_V,"Detected Winamp playlist format\n");
play_tree_parser_stop_keeping(p);
line = play_tree_parser_get_line(p);
if(!line)
@@ -266,9 +266,9 @@ parse_pls(play_tree_parser_t* p) {
v = pls_entry_get_value(line);
n_entries = atoi(v);
if(n_entries < 0)
- mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Invalid number of entries : very funny !!!\n");
+ mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Invalid number of entries: very funny!!!\n");
else
- mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Playlist claim to have %d entries. Let's see.\n",n_entries);
+ mp_msg(MSGT_PLAYTREE,MSGL_DBG2,"Playlist claims to have %d entries. Let's see.\n",n_entries);
line = play_tree_parser_get_line(p);
}
@@ -525,7 +525,7 @@ parse_playlist_file(char* file) {
stream = open_stream(file,0,&f);
if(!stream) {
- mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Error while opening playlist file %s : %s\n",file,strerror(errno));
+ mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Error while opening playlist file %s: %s\n",file,strerror(errno));
return NULL;
}
@@ -606,14 +606,14 @@ play_tree_parser_get_play_tree(play_tree_parser_t* p, int forced) {
}
if(tree)
- mp_msg(MSGT_PLAYTREE,MSGL_V,"Playlist succefully parsed\n");
+ mp_msg(MSGT_PLAYTREE,MSGL_V,"Playlist successfully parsed\n");
else
mp_msg(MSGT_PLAYTREE,((forced==1)?MSGL_ERR:MSGL_V),"Error while parsing playlist\n");
if(tree)
tree = play_tree_cleanup(tree);
- if(!tree) mp_msg(MSGT_PLAYTREE,((forced==1)?MSGL_WARN:MSGL_V),"Warning empty playlist\n");
+ if(!tree) mp_msg(MSGT_PLAYTREE,((forced==1)?MSGL_WARN:MSGL_V),"Warning: empty playlist\n");
return tree;
}