Skip to content

Commit

Permalink
diff condition
Browse files Browse the repository at this point in the history
  • Loading branch information
snkashis committed Feb 26, 2014
1 parent 1adbf9d commit da387b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rgeo/shapefile/reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def cur_index
end

def prj
@opened ? (@prj_file ? true : false) ? @prj_file.read : nil
@opened && @prj_file ? @prj_file.read : nil
end


Expand Down

0 comments on commit da387b9

Please # to comment.