~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct sense of parse_rights().
[disorder]
/
disobedience
/
queue.c
diff --git
a/disobedience/queue.c
b/disobedience/queue.c
index
f298b1f
..
7dbe563
100644
(file)
--- a/
disobedience/queue.c
+++ b/
disobedience/queue.c
@@
-75,10
+75,10
@@
static void queue_playing_changed(void) {
/** @brief Update the queue itself */
static void queue_completed(void attribute((unused)) *v,
/** @brief Update the queue itself */
static void queue_completed(void attribute((unused)) *v,
- const char *err
or
,
+ const char *err,
struct queue_entry *q) {
struct queue_entry *q) {
- if(err
or
) {
- popup_protocol_error(0, err
or
);
+ if(err) {
+ popup_protocol_error(0, err);
return;
}
actual_queue = q;
return;
}
actual_queue = q;
@@
-87,10
+87,10
@@
static void queue_completed(void attribute((unused)) *v,
/** @brief Update the playing track */
static void playing_completed(void attribute((unused)) *v,
/** @brief Update the playing track */
static void playing_completed(void attribute((unused)) *v,
- const char *err
or
,
+ const char *err,
struct queue_entry *q) {
struct queue_entry *q) {
- if(err
or
) {
- popup_protocol_error(0, err
or
);
+ if(err) {
+ popup_protocol_error(0, err);
return;
}
actual_playing_track = q;
return;
}
actual_playing_track = q;
@@
-198,9
+198,9
@@
struct queuelike ql_queue = {
static int queue_drag_target = -1;
static void queue_move_completed(void attribute((unused)) *v,
static int queue_drag_target = -1;
static void queue_move_completed(void attribute((unused)) *v,
- const char *err
or
) {
- if(err
or
) {
- popup_protocol_error(0, err
or
);
+ const char *err) {
+ if(err) {
+ popup_protocol_error(0, err);
return;
}
/* The log should tell us the queue changed so we do no more here */
return;
}
/* The log should tell us the queue changed so we do no more here */