Mercurial > audlegacy-plugins
comparison src/pls/pls.c @ 2050:2ffc6a69fcd1
string API calls -> vtable
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sat, 13 Oct 2007 19:55:04 -0500 |
parents | fa9f85cebade |
children | 059bd21a0c80 |
comparison
equal
deleted
inserted
replaced
2049:9550e809dc12 | 2050:2ffc6a69fcd1 |
---|---|
46 gchar *line, *title; | 46 gchar *line, *title; |
47 Playlist *playlist = playlist_get_active(); | 47 Playlist *playlist = playlist_get_active(); |
48 | 48 |
49 g_return_if_fail(filename != NULL); | 49 g_return_if_fail(filename != NULL); |
50 | 50 |
51 if (!str_has_suffix_nocase(filename, ".pls")) | 51 if (!aud_str_has_suffix_nocase(filename, ".pls")) |
52 return; | 52 return; |
53 | 53 |
54 INIFile *inifile = open_ini_file(filename); | 54 INIFile *inifile = open_ini_file(filename); |
55 if (!(line = read_ini_string(inifile, "playlist", "NumberOfEntries"))) | 55 if (!(line = read_ini_string(inifile, "playlist", "NumberOfEntries"))) |
56 { | 56 { |