[vlc-commits] Qt: fix indentation

Jean-Baptiste Kempf git at videolan.org
Wed Feb 8 18:27:31 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb  8 18:26:53 2012 +0100| [adf3d6f46298e21614f426949d8f4849141871c0] | committer: Jean-Baptiste Kempf

Qt: fix indentation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=adf3d6f46298e21614f426949d8f4849141871c0
---

 modules/gui/qt4/util/registry.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt4/util/registry.cpp b/modules/gui/qt4/util/registry.cpp
index eff5823..06beda3 100644
--- a/modules/gui/qt4/util/registry.cpp
+++ b/modules/gui/qt4/util/registry.cpp
@@ -42,7 +42,7 @@ QVLCRegistry::~QVLCRegistry( void )
 bool QVLCRegistry::RegistryKeyExists( const char *path )
 {
     HKEY keyHandle;
-    if(  RegOpenKeyEx( m_RootKey, path, 0, KEY_READ, &keyHandle ) == ERROR_SUCCESS )
+    if( RegOpenKeyEx( m_RootKey, path, 0, KEY_READ, &keyHandle ) == ERROR_SUCCESS )
     {
         RegCloseKey( keyHandle );
         return true;
@@ -57,7 +57,7 @@ bool QVLCRegistry::RegistryValueExists( const char *path, const char *valueName
     DWORD size1;
     DWORD valueType;
 
-    if(  RegOpenKeyEx( m_RootKey, path, 0, KEY_READ, &keyHandle ) == ERROR_SUCCESS )
+    if( RegOpenKeyEx( m_RootKey, path, 0, KEY_READ, &keyHandle ) == ERROR_SUCCESS )
     {
         if( RegQueryValueEx( keyHandle, valueName, NULL,
                              &valueType, NULL, &size1 ) == ERROR_SUCCESS )
@@ -73,7 +73,7 @@ void QVLCRegistry::WriteRegistryInt( const char *path, const char *valueName, in
 {
     HKEY keyHandle;
 
-    if(  RegCreateKeyEx( m_RootKey, path, 0, NULL, REG_OPTION_NON_VOLATILE,
+    if( RegCreateKeyEx( m_RootKey, path, 0, NULL, REG_OPTION_NON_VOLATILE,
                          KEY_WRITE, NULL, &keyHandle, NULL )  == ERROR_SUCCESS )
     {
         RegSetValueEx( keyHandle, valueName, 0, REG_DWORD,
@@ -86,7 +86,7 @@ void QVLCRegistry::WriteRegistryString( const char *path, const char *valueName,
 {
     HKEY keyHandle;
 
-    if(  RegCreateKeyEx( m_RootKey, path, 0, NULL, REG_OPTION_NON_VOLATILE,
+    if( RegCreateKeyEx( m_RootKey, path, 0, NULL, REG_OPTION_NON_VOLATILE,
                          KEY_WRITE, NULL, &keyHandle, NULL )  == ERROR_SUCCESS )
     {
         RegSetValueEx( keyHandle, valueName, 0, REG_SZ, (LPBYTE)value,
@@ -112,7 +112,7 @@ int QVLCRegistry::ReadRegistryInt( const char *path, const char *valueName, int
     DWORD size1;
     DWORD valueType;
 
-    if(  RegOpenKeyEx( m_RootKey, path, 0, KEY_READ, &keyHandle ) == ERROR_SUCCESS )
+    if( RegOpenKeyEx( m_RootKey, path, 0, KEY_READ, &keyHandle ) == ERROR_SUCCESS )
     {
         if( RegQueryValueEx(  keyHandle, valueName, NULL, &valueType, NULL, &size1 ) == ERROR_SUCCESS )
         {



More information about the vlc-commits mailing list