roelj / inklingreader

A GNU/Linux-friendly version of the Wacom Inkling SketchManager.
GNU General Public License v3.0
50 stars 16 forks source link

Set locale to default before writing and reading config file #46

Closed dedeibel closed 6 years ago

dedeibel commented 6 years ago

Changes in the else block is just some indentation fix.

roelj commented 6 years ago

Hi @dedeibel. Thanks for this fix. It looks fine to me.

I'd appreciate it if you would leave the indentation as-is and only add the setlocale bits. That makes the PR much easier to read.

Hopefully this isn't too much work for you.

(FWIW, the indentation is the GNU-style C-indentation without tabs (also the default way in Emacs).)

If you could take care of the indentation glitch, I will complete the PR right away.

Thanks!

roelj commented 6 years ago

Oops. I see the original file uses tabs to indent. I'll have a look at it after the merge.