[gparted] Minor style change to place braces on a separate line
- From: Curtis Gedak <gedakc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gparted] Minor style change to place braces on a separate line
- Date: Mon, 27 Apr 2009 17:18:07 -0400 (EDT)
commit 63980c0def0324ca2087ce89c220ba2baca21609
Author: Curtis Gedak <gedakc gmail com>
Date: Mon Apr 27 15:17:45 2009 -0600
Minor style change to place braces on a separate line
---
src/DMRaid.cc | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/DMRaid.cc b/src/DMRaid.cc
index 8312d81..ea98a78 100644
--- a/src/DMRaid.cc
+++ b/src/DMRaid.cc
@@ -34,7 +34,8 @@ std::vector<Glib::ustring> DMRaid::dmraid_devices ;
DMRaid::DMRaid()
{
//Ensure that cache has been loaded at least once
- if ( ! dmraid_cache_initialized ) {
+ if ( ! dmraid_cache_initialized )
+ {
dmraid_cache_initialized = true ;
set_commands_found() ;
load_dmraid_cache() ;
@@ -64,7 +65,8 @@ void DMRaid::load_dmraid_cache()
{
//Load data into dmraid structures
Glib::ustring output, error ;
- if ( dmraid_found ) {
+ if ( dmraid_found )
+ {
if ( ! Utils::execute_command( "dmraid -sa -c", output, error, true ) )
{
Glib::ustring temp = Utils::regexp_label( output, "^(no raid disks).*" ) ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]