From 6c075b83e0319d967affeed031f1deee39c0b1ba Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Tue, 16 Aug 2016 11:05:59 -0700 Subject: [PATCH] [cosmetic] Improve comment in ButtonMapper.cpp --- src/buttonmapper/ButtonMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buttonmapper/ButtonMapper.cpp b/src/buttonmapper/ButtonMapper.cpp index 71476818..48946bc4 100644 --- a/src/buttonmapper/ButtonMapper.cpp +++ b/src/buttonmapper/ButtonMapper.cpp @@ -142,7 +142,7 @@ void CButtonMapper::DeriveFeatures(const ADDON::Joystick& joystick, const std::s if (!m_controllerTransformer) return; - // Obtain an iterator to the controller profile with the highest count of features defined + // Search the button map for the controller with the highest count of features defined unsigned int maxFeatures = 0; auto maxFeaturesIt = buttonMap.end();