Merge branch 'master' of git.philpep.org:wmfs into philpep

This commit is contained in:
Philippe Pepiot 2010-04-18 19:00:23 +02:00
commit 37d6d105d8

View File

@ -307,8 +307,8 @@ tag_swap(int s, int t1, int t2)
Tag t;
int i, j;
if(t1 > conf.ntag[s] || t1 < 0
|| t2 > conf.ntag[s] || t2 < 0 || t1 == t2)
if(t1 > conf.ntag[s] || t1 < 1
|| t2 > conf.ntag[s] || t2 < 1 || t1 == t2)
return;
t = tags[s][t1];