Skip to content

Commit

Permalink
fix: Some merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Sep 15, 2024
1 parent 96a588b commit b3a0ebe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ include("${IMHEX_BASE_FOLDER}/cmake/build_helpers.cmake")
# Setup project
loadVersion(IMHEX_VERSION IMHEX_VERSION_PLAIN)
setVariableInParent(IMHEX_VERSION ${IMHEX_VERSION})
configureCMake()

configureCMake()
project(imhex
LANGUAGES C CXX
VERSION ${IMHEX_VERSION_PLAIN}
Expand Down
3 changes: 0 additions & 3 deletions cmake/build_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,6 @@ endfunction()
macro(configureCMake)
message(STATUS "Configuring ImHex v${IMHEX_VERSION}")

# Enable C and C++ languages
enable_language(C CXX)

set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Enable position independent code for all targets" FORCE)

# Configure use of recommended build tools
Expand Down
8 changes: 0 additions & 8 deletions lib/third_party/imgui/ColorTextEditor/source/TextEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,6 @@ TextEditor::Coordinates TextEditor::FindWordEnd(const Coordinates &aFrom) const
while (cindex < (line.size()) && !isWordChar(line[cindex].mChar))
++cindex;

if (prevspace != !!isspace(c)) {
if (isspace(c))
while (cindex < (int)line.size() && isspace(line[cindex].mChar))
++cindex;
break;
}
cindex += d;

if (line[cindex-1].mChar == '\"')
--cindex;
return Coordinates(aFrom.mLine, GetCharacterColumn(aFrom.mLine, cindex));
Expand Down

0 comments on commit b3a0ebe

Please sign in to comment.