This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.

The branch, next has been updated
       via  ebac6e7c839dfededc4814379495cc65c0e359c2 (commit)
      from  1e76a78604513eee604e1719e40d5f45c2d8eee4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/ebac6e7c839dfededc4814379495cc65c0e359c2

commit ebac6e7c839dfededc4814379495cc65c0e359c2
Author: Christophe CURIS <[email protected]>
Date:   Tue Jun 11 00:25:33 2013 +0200

    Fixed incorrect format specifier
    
    As reported by clang, the format used was %hi which is expecting
    a short-typed argument, but the parameters are actually defined
    as ints in the structure, so use only %i.
    
    Signed-off-by: Christophe CURIS <[email protected]>

diff --git a/src/dock.c b/src/dock.c
index b29fe62..4d0de42 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -4855,7 +4855,7 @@ static WMPropList *drawerSaveState(WScreen *scr, WDock 
*drawer)
        WMReleasePropList(pstr);
 
        /* Store its position */
-       snprintf(buffer, sizeof(buffer), "%hi,%hi", ai->x_pos, ai->y_pos);
+       snprintf(buffer, sizeof(buffer), "%i,%i", ai->x_pos, ai->y_pos);
        pstr = WMCreatePLString(buffer);
        WMPutInPLDictionary(drawer_state, dPosition, pstr);
        WMReleasePropList(pstr);

-----------------------------------------------------------------------

Summary of changes:
 src/dock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


repo.or.cz automatic notification. Contact project admin [email protected]
if you want to unsubscribe, or site admin [email protected] if you receive
no reply.
-- 
wmaker-crm.git ("The Window Maker window manager")


-- 
To unsubscribe, send mail to [email protected].

Reply via email to