Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix detection of -abq and -baq in file names.

  • Loading branch information...
commit d34c174a69bbc4dacdfc34d09c72ddcc50a8d9e8 1 parent fb0b6a0
Martin Lambers marlam authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/input.cpp
4 src/input.cpp
View
@@ -300,13 +300,13 @@ void input::open(std::vector<decoder *> decoders,
}
else if (name.length() >= 4
&& (name.substr(name.length() - 4, 4) == "-tbh"
- || name.substr(name.length() - 3, 3) == "-abq"))
+ || name.substr(name.length() - 4, 4) == "-abq"))
{
_mode = top_bottom_half;
}
else if (name.length() >= 4
&& (name.substr(name.length() - 4, 4) == "-bth"
- || name.substr(name.length() - 3, 3) == "-baq"))
+ || name.substr(name.length() - 4, 4) == "-baq"))
{
_mode = top_bottom_half;
_swap_eyes = true;
Please sign in to comment.
Something went wrong with that request. Please try again.