Skip to content

Commit

Permalink
Rename @iline_mutex to @context_line_mutex .
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistos committed Jan 24, 2016
1 parent c750904 commit ad0c328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/diakonos.rb
Expand Up @@ -206,7 +206,7 @@ def initialize( argv = [] )
@display_queue_mutex = Mutex.new
@display_queue = nil
@do_display = true
@iline_mutex = Mutex.new
@context_line_mutex = Mutex.new

@tag_stack = Array.new
@last_search_regexps = nil
Expand Down
2 changes: 1 addition & 1 deletion lib/diakonos/display.rb
Expand Up @@ -269,7 +269,7 @@ def update_context_line
end
end

@iline_mutex.synchronize do
@context_line_mutex.synchronize do
@win_context.attrset @settings[ "context.format" ]
@win_context.addstr( " " * ( Curses::cols - chars_printed ) )
@win_context.refresh
Expand Down

0 comments on commit ad0c328

Please sign in to comment.