History

Don't compare a boolean to an integer

This avoids a warning when building with MSVC.

Martin Storsjö committed 12 years ago

Commit f99336d1 parent e4a9c7f1 file · +1 −1Browse files

Showing the changes to test/processing/ProcessUT_ScrollDetection.cpp (1 of 1 file). Show all

Unified · Split

test/processing/ProcessUT_ScrollDetection.cpp+1−1
@@ -73,7 +73,7 @@ TEST(ScrollDetectionTest,TestScroll) · 72 unmodified lines
7373 EXPECT_EQ(ret,0);
7474 pTest->Get(iMethodIdx, (&sScrollDetectionResult));
7575
76− EXPECT_EQ(sScrollDetectionResult.bScrollDetectFlag,1);
76+ EXPECT_EQ(sScrollDetectionResult.bScrollDetectFlag,true);
7777 EXPECT_EQ(sScrollDetectionResult.iScrollMvY,iScrollMv);
7878
7979 delete pTest;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t