main/abiword: fix ruler bug

from upstream: http://bugzilla.abisource.com/show_bug.cgi?id=13582