Author: turner
Date: Fri Jun 9 19:59:56 2006
New Revision: 22293
URL:
http://svn.reactos.ru/svn/reactos?rev=22293&view=rev
Log:
eol-style:native and some TCHAR fixes
Modified:
trunk/rosapps/tests/readconsole/main.c
trunk/rosapps/tests/readconsole/readconsole.rbuild (contents, props changed)
Modified: trunk/rosapps/tests/readconsole/main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/rosapps/tests/readconsole/main.c?re…
==============================================================================
--- trunk/rosapps/tests/readconsole/main.c (original)
+++ trunk/rosapps/tests/readconsole/main.c Fri Jun 9 19:59:56 2006
@@ -1,5 +1,6 @@
-#include "stdio.h"
-#include "Windows.h"
+#include <stdio.h>
+#include <tchar.h>
+#include <windows.h>
int main()
{
@@ -20,10 +21,10 @@
//
// We print out this char as an int to show that infact a backspace does count as
input
//
- printf("You printed %c :: ", Buffer);
- printf("With a value %d :: ", Buffer);
- printf("Number of chars recieved %lu :: ", Count);
- printf("Char equal to backspace %d \n", (Buffer == '\b'));
+ _tprintf(TEXT("You printed %c :: "), Buffer);
+ _tprintf(TEXT("With a value %d :: "), Buffer);
+ _tprintf(TEXT("Number of chars recieved %lu :: "), Count);
+ _tprintf(TEXT("Char equal to backspace %d \n"), (Buffer ==
TEXT('\b')));
//
// :)
Modified: trunk/rosapps/tests/readconsole/readconsole.rbuild
URL:
http://svn.reactos.ru/svn/reactos/trunk/rosapps/tests/readconsole/readconso…
==============================================================================
--- trunk/rosapps/tests/readconsole/readconsole.rbuild (original)
+++ trunk/rosapps/tests/readconsole/readconsole.rbuild Fri Jun 9 19:59:56 2006
@@ -1,5 +1,7 @@
-<module name="readconsole" type="win32cui"
installbase="bin" installname="readconsole.exe">
- <define name="__USE_W32API" />
- <library>kernel32</library>
- <file>main.c</file>
-</module>
+<module name="readconsole" type="win32cui"
installbase="bin" installname="readconsole.exe">
+ <define name="UNICODE" />
+ <define name="_UNICODE" />
+ <define name="__USE_W32API" />
+ <library>kernel32</library>
+ <file>main.c</file>
+</module>
Propchange: trunk/rosapps/tests/readconsole/readconsole.rbuild
------------------------------------------------------------------------------
svn:eol-style = native