[Pidgin] StyleGuide modified

Pidgin trac at pidgin.im
Sat Mar 1 12:19:33 EST 2014


Page "StyleGuide" was changed by MarkDoliner
Diff URL: <https://developer.pidgin.im/wiki/StyleGuide?action=diff&version=13>
Revision 13
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: StyleGuide
=========================================================================
--- StyleGuide (version: 12)
+++ StyleGuide (version: 13)
@@ -20,11 +20,13 @@
 some_function(int x, int y)
 {
         if (x > y) {
-            return;
+                do_something();
+        } else {
+                do_something_else();
         }
 
         for (i = 0; i < x; i++) {
-                /* the code here, indented by a tab */
+                ...
         }
 };
 }}}
@@ -80,7 +82,7 @@
 GtkWidget *
 do_some_magic_thing(int foo, gchar *bar)
 {
-        /* misc, other */
+        ...
 }
 }}}
 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://developer.pidgin.im/wiki/StyleGuide>
Pidgin <https://pidgin.im>
Pidgin

This is an automated message. Someone added your email address to be
notified of changes on 'StyleGuide' page.
If it was not you, please report to datallah at pidgin.im.


More information about the Wikiedit mailing list