File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11libmpdclient 2.25 (not yet released)
2+ * fix typos in MPD_STICKER_SORT_UNKOWN and MPD_STICKER_SORT_UNKOWN
23
34libmpdclient 2.24 (2025/08/23)
45* fix missing "mpd_send_list_tag_types_available" in libmpdclient.ld
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ struct mpd_connection;
2323 * Comparison operators for sticker search api
2424 */
2525enum mpd_sticker_operator {
26- MPD_STICKER_OP_UNKOWN = -1 ,
26+ MPD_STICKER_OP_UNKOWN = -1 , // Keep typo, else we break the abi
27+ MPD_STICKER_OP_UNKNOWN = -1 ,
2728 MPD_STICKER_OP_EQ ,
2829 MPD_STICKER_OP_GT ,
2930 MPD_STICKER_OP_LT ,
@@ -38,7 +39,8 @@ enum mpd_sticker_operator {
3839 * Sort by settings for sticker search api
3940 */
4041enum mpd_sticker_sort {
41- MPD_STICKER_SORT_UNKOWN = -1 ,
42+ MPD_STICKER_SORT_UNKOWN = -1 , // Keep typo, else we break the abi
43+ MPD_STICKER_SORT_UNKNOWN = -1 ,
4244 MPD_STICKER_SORT_URI ,
4345 MPD_STICKER_SORT_VALUE ,
4446 MPD_STICKER_SORT_VALUE_INT ,
Original file line number Diff line number Diff line change @@ -251,7 +251,8 @@ static const char *get_sticker_oper_str(enum mpd_sticker_operator oper) {
251251 case MPD_STICKER_OP_LT_INT : return "lt" ;
252252 case MPD_STICKER_OP_CONTAINS : return "contains" ;
253253 case MPD_STICKER_OP_STARTS_WITH : return "starts_with" ;
254- case MPD_STICKER_OP_UNKOWN : return NULL ;
254+ case MPD_STICKER_OP_UNKOWN :
255+ case MPD_STICKER_OP_UNKNOWN : return NULL ;
255256 }
256257 return NULL ;
257258}
@@ -293,7 +294,8 @@ static const char *get_sticker_sort_name(enum mpd_sticker_sort sort) {
293294 case MPD_STICKER_SORT_URI : return "uri" ;
294295 case MPD_STICKER_SORT_VALUE : return "value" ;
295296 case MPD_STICKER_SORT_VALUE_INT : return "value_int" ;
296- case MPD_STICKER_SORT_UNKOWN : return NULL ;
297+ case MPD_STICKER_SORT_UNKOWN :
298+ case MPD_STICKER_SORT_UNKNOWN : return NULL ;
297299 }
298300 return NULL ;
299301}
You can’t perform that action at this time.
0 commit comments