fix thinko when testing for internal seek with negative distance
This commit is contained in:
parent
cbb7f6d863
commit
f52781b46b
@ -164,7 +164,7 @@ public:
|
||||
return read_space() >= cnt;
|
||||
}
|
||||
else if (cnt < 0) {
|
||||
return g_atomic_int_get (&reserved) >= cnt;
|
||||
return g_atomic_int_get (&reserved) >= -cnt;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user