~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/music/os2_m.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman, Jordi Mallach
  • Date: 2009-04-15 18:22:10 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090415182210-22ktb8kdbp2tf3bm
[ Matthijs Kooijman ]
* New upstream release.
* Remove Debian specific desktop file, upstream provides one now. 
* Add debian/watch file.

[ Jordi Mallach ]
* Bump Standards-Version to 3.8.1, with no changes required.
* Move to debhelper compat 7. Bump Build-Depends accordingly.
* Use dh_prep.
* Add "set -e" to config script.
* Remove a few extra doc files that get installed by upstream Makefile.
* Add more complete copyright information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: os2_m.cpp 10444 2007-07-05 12:23:54Z peter1138 $ */
 
1
/* $Id: os2_m.cpp 14542 2008-10-28 16:04:41Z rubidium $ */
 
2
 
 
3
/** @file os2_m.cpp Music playback on OS/2. */
2
4
 
3
5
#include "../stdafx.h"
4
6
#include "../openttd.h"
25
27
        va_list va;
26
28
        char buf[512];
27
29
        va_start(va, cmd);
28
 
        vsprintf(buf, cmd, va);
 
30
        vseprintf(buf, lastof(buf), cmd, va);
29
31
        va_end(va);
30
32
        return mciSendString(buf, NULL, 0, NULL, 0);
31
33
}