Permalink
Browse files

Merge pull request #30 from chrisavl/opfix

Fix operator precedence when checking for modified module.
  • Loading branch information...
dgud committed Aug 16, 2012
2 parents 636c920 + 57802c6 commit 4b0788601ae437215631dfce6cf89ebe623fac80
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/user_default.erl
View
@@ -261,7 +261,7 @@ module_modified(Path, PrevCompileTime, PrevSrc) ->
CompileOpts = binary_to_term(CB),
CompileTime = proplists:get_value(time, CompileOpts),
Src = proplists:get_value(source, CompileOpts),
- not (CompileTime == PrevCompileTime) and (Src == PrevSrc)
+ not ((CompileTime == PrevCompileTime) and (Src == PrevSrc))
end.
find_module_file(Path) ->

0 comments on commit 4b07886

Please sign in to comment.