From 91bb75ebee061dc5c9686e01fb83c93202f420c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 16 Mar 2025 14:45:49 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- diff_ext_for_kdiff3/diff_ext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'diff_ext_for_kdiff3') 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); } -- cgit v1.2.3