1
0
Fork 0

PowerEditor: minor correction

This commit is contained in:
kauron 2015-07-19 20:15:59 +02:00
parent 025968b91d
commit 84c0d8abb3

View file

@ -156,7 +156,7 @@ public class PowerEditor extends ActionBarActivity {
if ( originalName == null ) {
saveName = strings[0];
for (int i = 0; i < powers; i++) {
if (p.getString("power" + power, "").equals(saveName)) {
if (saveName.equals(p.getString("power" + power, ""))) {
SnackbarManager.show(Snackbar
.with(this)
.text(R.string.power_same_name)