This commit is contained in:
Campbell Barton 2014-08-12 10:31:07 +10:00
parent afe8a4040f
commit d124bd1cd4
7 changed files with 9 additions and 9 deletions

@ -401,7 +401,7 @@ extern GHOST_TSuccess GHOST_SetCursorPosition(GHOST_SystemHandle systemhandle,
* do this automatically.
* \param windowhandle The handle to the window
* \param mode The new grab state of the cursor.
* \param bounds The grab ragion (optional) - left,top,right,bottom
* \param bounds The grab region (optional) - left,top,right,bottom
* \param mouse_ungrab_xy XY for new mouse location (optional) - x,y
* \return Indication of success.
*/

@ -100,7 +100,7 @@ public:
/**
* Changes the current setting for this display device.
* The setting given to this method is matched againts the available diplay settings.
* The setting given to this method is matched against the available diplay settings.
* The best match is activated (@see findMatch()).
* \param display The index of the display to query with 0 <= display < getNumDisplays().
* \param setting The setting of the display device to be matched and activated.

@ -186,7 +186,7 @@ DWORD GHOST_DropTargetWin32::allowedDropEffect(DWORD dwAllowed)
GHOST_TDragnDropTypes GHOST_DropTargetWin32::getGhostType(IDataObject *pDataObject)
{
/* Text
* Note: Unicode text is aviable as CF_TEXT too, the system can do the
* Note: Unicode text is available as CF_TEXT too, the system can do the
* conversion, but we do the conversion ourself with WC_NO_BEST_FIT_CHARS.
*/
FORMATETC fmtetc = { CF_TEXT, 0, DVASPECT_CONTENT, -1, TYMED_HGLOBAL };

@ -245,7 +245,7 @@ getMainDisplayDimensions(
{
if (m_display) {
/* note, for this to work as documented,
* we would need to use Xinerama check r54370 for code that did thia,
* we would need to use Xinerama check r54370 for code that did this,
* we've since removed since its not worth the extra dep - campbell */
getAllDisplayDimensions(width, height);
}
@ -1251,7 +1251,7 @@ getModifierKeys(
XQueryKeymap(m_display, (char *)m_keyboard_vector);
/* now translate key symobols into keycodes and
/* now translate key symbols into keycodes and
* test with vector. */
const static KeyCode shift_l = XKeysymToKeycode(m_display, XK_Shift_L);

@ -67,7 +67,7 @@ public:
virtual GHOST_TUns32 getNumTimers();
/**
* Returns whther this timer task ins in our list.
* Returns whether this timer task ins in our list.
* \return Indication of presence.
*/
virtual bool getTimerFound(GHOST_TimerTask *timer);

@ -55,7 +55,7 @@
#include <algorithm>
#include <string>
/* For obscure full screen mode stuuf
/* For obscure full screen mode stuff
* lifted verbatim from blut. */
typedef struct {
@ -186,7 +186,7 @@ GHOST_WindowX11(
m_visible_cursor(None)
{
/* Set up the minimum atrributes that we require and see if
/* Set up the minimum attributes that we require and see if
* X can find us a visual matching those requirements. */
int attributes[40], i, samples;

@ -701,7 +701,7 @@ static AVStream *alloc_audio_stream(RenderData *rd, int codec_id, AVFormatContex
* you have various implementations around. float samples in particular are not always supported.
*/
const enum AVSampleFormat *p = codec->sample_fmts;
for (; *p!=-1; p++) {
for (; *p != -1; p++) {
if (*p == st->codec->sample_fmt)
break;
}