gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r12132: add braces for if () {}.


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12132: add braces for if () {}.
Date: Sun, 04 Apr 2010 18:02:40 -0600
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12132
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Sun 2010-04-04 18:02:40 -0600
message:
  add braces for if () {}.
modified:
  plugin/klash4/klash_part.cpp
=== modified file 'plugin/klash4/klash_part.cpp'
--- a/plugin/klash4/klash_part.cpp      2010-03-22 20:48:47 +0000
+++ b/plugin/klash4/klash_part.cpp      2010-04-05 00:02:40 +0000
@@ -468,8 +468,9 @@
     if (!entry)
         return false;
     kdDebug () << "entry " << entry->name << endl;
-    for (unsigned int i = 0; i < args.size (); ++i)
+    for (unsigned int i = 0; i < args.size (); ++i) {
         kdDebug () << "      " << args[i] << endl;
+    }
     //Klash::View * view = static_cast <Klash::View*> (player->widget ());
     //if (!view)
     //    return false;
@@ -483,8 +484,9 @@
         case play:
             if (args.size ()) {
                 KUrl url (args.first ());
-                if (player->allowRedir (url))
+                if (player->allowRedir (url)) {
                     ;//player->openNewUrl (url);
+                }
             } else
                 player->play ();
             rval = "true";


reply via email to

[Prev in Thread] Current Thread [Next in Thread]