Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-libqt4
fix-pointer-abuse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-pointer-abuse.patch of Package mingw64-libqt4
From 7138c963f9d1258bc1b49cb4d63c3e2b7d0ccfda Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Date: Fri, 7 Sep 2012 19:06:09 +0200 Subject: [PATCH] fix pointer abuse Change-Id: Iff87cd6f8df7faed0ac4b9d1025a0bda67d3b200 Reviewed-by: hjk <qthjk@ovi.com> --- src/linguist/linguist/messagemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/linguist/linguist/messagemodel.cpp b/tools/linguist/linguist/messagemodel.cpp index 171f23b81..5740a5435 100644 --- a/tools/linguist/linguist/messagemodel.cpp +++ b/tools/linguist/linguist/messagemodel.cpp @@ -183,7 +183,7 @@ static int calcMergeScore(const DataModel *one, const DataModel *two) if (ContextItem *c = one->findContext(oc->context())) { for (int j = 0; j < oc->messageCount(); ++j) { MessageItem *m = oc->messageItem(j); - if (c->findMessage(m->text(), m->comment()) >= 0) + if (c->findMessage(m->text(), m->comment())) ++inBoth; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor