Ignore:
Timestamp:
May 14, 2015, 9:55:51 PM (11 years ago)
Author:
rousseau
Message:

Include a bunch of Console Debug calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/src/user32/text.c

    r21356 r22097  
    66 */
    77
     8#include <stdio.h>
    89#include <string.h>
    910
     
    1718#include "user.h"
    1819#include "debugtools.h"
     20#include <misc.h>
    1921
    2022#ifdef __WIN32OS2__
     
    311313
    312314        if (!GetTextExtentPointW(hdc, line, len, &size)) return 0;
    313         if (flags & DT_CENTER) x = (rect->left + rect->right -
    314                                     size.cx) / 2;
    315         else if (flags & DT_RIGHT) x = rect->right - size.cx;
     315    ///__con_debug(2,"%s\n","still here?");
     316        if (flags & DT_CENTER) {
     317        x = (rect->left + rect->right - size.cx) / 2;
     318        __con_debug(2,"%s\n","DT_CENTER");
     319    }
     320        else if (flags & DT_RIGHT) {
     321        x = rect->right - size.cx;
     322        __con_debug(2,"%s\n","DT_RIGHT");
     323    }
    316324
    317325        if (flags & DT_SINGLELINE)
Note: See TracChangeset for help on using the changeset viewer.