Skip to content

Fix leading zeros in bitwise operation

Sebastian Hiebl requested to merge bastidest/gnome-calculator:fix/bitwise into master

fixes #110 (closed) fixes #114 (closed)

@mst and I discovered a bug in the bitwise operations:

Leading zeros as a result of a bitwise operation resulted in the string being interpreted as octal instead of hexadecimal. The change removes the leading zeros of the string after the bitwise calculation.

Merge request reports