summaryrefslogtreecommitdiff
path: root/examples/resources/lib
diff options
context:
space:
mode:
Diffstat (limited to 'examples/resources/lib')
-rw-r--r--examples/resources/lib/bitlib.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/resources/lib/bitlib.lua b/examples/resources/lib/bitlib.lua
index e794d32..0cdea4e 100644
--- a/examples/resources/lib/bitlib.lua
+++ b/examples/resources/lib/bitlib.lua
@@ -3,7 +3,7 @@ local bitlib = {}
function bitlib.setBit( v, i, b )
if b then
return v | 1 << i
- else
+ else
return v & ~( 1 << i )
end
end
@@ -20,4 +20,4 @@ function bitlib.getBit( v, i )
return v & ( 1 << i ) > 0
end
-return bitlib \ No newline at end of file
+return bitlib