Skip to contentSkip to conversation

Fix misaligned curly brace

PATCH New Oleg Drokin 1 participant 1 message Jun 19, 2016

lore
Share & tools
lore

Oleg Drokin

author
#0 lore raw

PATCH 1/1 Fix misaligned curly brace

This brace makes it look like the wrong block is beign closed causing some confusion for the reader.

Signed-off-by Oleg Drokin <green(a)linuxhacker.ru>
---
 src/devlist.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/devlist.cpp +1 -1
index e6a4f4c..70ae70e 100644
@@ -196,7 +196,7 @@ int charge_device_to_openers(const char *devstring, double power, class device *
 	for (i = 0; i < one.size(); i++) {
 		if (strstr(one[i]->device, devstring))
 			openers++;
-		}
+	}
 	for (i = 0; i < two.size(); i++) {
 		if (strstr(two[i]->device, devstring))
 			openers++;
Signature · 1 line
2.7.4