Merge branch 'master' of git.philpep.org:wmfs into philpep
This commit is contained in:
@@ -307,8 +307,8 @@ tag_swap(int s, int t1, int t2)
|
|||||||
Tag t;
|
Tag t;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
if(t1 > conf.ntag[s] || t1 < 0
|
if(t1 > conf.ntag[s] || t1 < 1
|
||||||
|| t2 > conf.ntag[s] || t2 < 0 || t1 == t2)
|
|| t2 > conf.ntag[s] || t2 < 1 || t1 == t2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
t = tags[s][t1];
|
t = tags[s][t1];
|
||||||
|
|||||||
Reference in New Issue
Block a user