summaryrefslogtreecommitdiffstats
path: root/diff_ext_for_kdiff3
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-03-16 14:45:49 +0900
committerMichele Calgaro <[email protected]>2025-03-16 14:45:49 +0900
commit91bb75ebee061dc5c9686e01fb83c93202f420c3 (patch)
treee427258b574d39f6e0f93fc09a7d8cd2fa40aa64 /diff_ext_for_kdiff3
parentbd6fa47f95c6f58ccc2b91094d9cee35750aede4 (diff)
downloadkdiff3-rename/true-false.tar.gz
kdiff3-rename/true-false.zip
Replace TRUE/FALSE with boolean values true/falserename/true-false
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'diff_ext_for_kdiff3')
-rw-r--r--diff_ext_for_kdiff3/diff_ext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/diff_ext_for_kdiff3/diff_ext.cpp b/diff_ext_for_kdiff3/diff_ext.cpp
index f83f068..46bd579 100644
--- a/diff_ext_for_kdiff3/diff_ext.cpp
+++ b/diff_ext_for_kdiff3/diff_ext.cpp
@@ -320,7 +320,7 @@ static int insertMenuItemHelper( HMENU menu, UINT id, UINT position, const tstri
item_info.dwTypeData = (LPTSTR)text.c_str();
item_info.hSubMenu = hSubMenu;
}
- if ( 0 == InsertMenuItem(menu, position, TRUE, &item_info) )
+ if ( 0 == InsertMenuItem(menu, position, true, &item_info) )
SYSERRORLOG(TEXT("InsertMenuItem"));
return id;
}
@@ -568,7 +568,7 @@ DIFF_EXT::diff( const tstring& arguments )
{
ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si);
- if (CreateProcess(command.c_str(), (LPTSTR)commandLine.c_str(), 0, 0, FALSE, 0, 0, 0, &si, &pi) == 0)
+ if (CreateProcess(command.c_str(), (LPTSTR)commandLine.c_str(), 0, 0, false, 0, 0, 0, &si, &pi) == 0)
{
SYSERRORLOG(TEXT("CreateProcess") + command);
}