Skip to content

Commit

Permalink
fix a defect of CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
pit-ray committed Jun 16, 2023
1 parent 06863b8 commit 02d8412
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/bind/mouse/gridmove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ namespace vind
// Assign hints for grid cells of each monitor.
std::vector<core::Hint> c_hints ;
std::vector<std::string> c_hint_texts ;
auto cell_nums = static_cast<std::size_t>(grid_h_ * grid_w_) ;
core::assign_identifier_hints(
grid_h_ * grid_w_, c_hints, c_hint_texts, hintkeys) ;
cell_nums, c_hints, c_hint_texts, hintkeys) ;

for(std::size_t mi = 0 ; mi < monitors.size() ; mi ++) {
const auto& rect = monitors[mi].rect ;
Expand Down
2 changes: 1 addition & 1 deletion src/core/version.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef _VERSION_HPP
#define _VERSION_HPP

#define WIN_VIND_VERSION "5.2.1.0"
#define WIN_VIND_VERSION "5.2.2.0"

#endif

0 comments on commit 02d8412

Please sign in to comment.