[Bug 1878] New: scanf with %i doesn't work