From 00b61d7e14f941204da071a5dc2c1129d068b4fd Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Thu, 15 Oct 2020 15:41:40 +0200 Subject: [PATCH] Coding style --- src/YCP_UI.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/YCP_UI.cc b/src/YCP_UI.cc index 47f31ba..e2683bf 100644 --- a/src/YCP_UI.cc +++ b/src/YCP_UI.cc @@ -681,16 +681,16 @@ YCPValue YCP_UI::ChangeWidget( const YCPValue & idValue, const YCPValue & proper idValue->toString().c_str() ) ); } - YCPValue id = YCPDialogParser::parseIdTerm( idValue ); - YWidget * widget = YCPDialogParser::findWidgetWithId( id, - true ); // throw if not found + YCPValue id = YCPDialogParser::parseIdTerm( idValue ); + YWidget * widget = YCPDialogParser::findWidgetWithId( id, + true ); // throw if not found YPropertySet propSet = widget->propertySet(); if ( property->isSymbol() ) { string oldShortcutString = widget->shortcutString(); - string propertyName = property->asSymbol()->symbol(); + string propertyName = property->asSymbol()->symbol(); YPropertyValue val; @@ -715,8 +715,8 @@ YCPValue YCP_UI::ChangeWidget( const YCPValue & idValue, const YCPValue & proper } else if ( property->isTerm() ) { - bool success = YCPPropertyHandler::setComplexProperty( widget, property->asTerm(), newValue ); - ret = YCPBoolean( success ); + bool success = YCPPropertyHandler::setComplexProperty( widget, property->asTerm(), newValue ); + ret = YCPBoolean( success ); } else {