m code style + fix issue 169

Signed-off-by: Mattias Andrée <maandree@operamail.com>