mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 784373 - Fixed typo: SEEK_START => SEEK_SET. r=froydnj
This commit is contained in:
parent
efece18efb
commit
fbfbf26fa2
@ -142,7 +142,7 @@
|
||||
*/
|
||||
File.prototype.setPosition = function setPosition(pos, whence) {
|
||||
if (whence === undefined) {
|
||||
whence = Const.SEEK_START;
|
||||
whence = Const.SEEK_SET;
|
||||
}
|
||||
return throw_on_negative("setPosition",
|
||||
UnixFile.lseek(this.fd, pos, whence)
|
||||
|
Loading…
Reference in New Issue
Block a user