[ros-diffs] [mpiulachs] 30280: Small fixes to notevil , removed the no longer necessary resource.h as it is now using autogenerated contributors

mpiulachs at svn.reactos.org mpiulachs at svn.reactos.org
Thu Nov 8 21:31:19 CET 2007


Author: mpiulachs
Date: Thu Nov  8 23:31:18 2007
New Revision: 30280

URL: http://svn.reactos.org/svn/reactos?rev=30280&view=rev
Log:
Small fixes to notevil , removed the no longer necessary resource.h as it is now using autogenerated contributors

Removed:
    branches/rbuild/rosapps/notevil/resource.h
Modified:
    branches/rbuild/rosapps/notevil/notevil.c
    branches/rbuild/rosapps/notevil/notevil.rbuild
    branches/rbuild/rosapps/notevil/readme.txt

Modified: branches/rbuild/rosapps/notevil/notevil.c
URL: http://svn.reactos.org/svn/reactos/branches/rbuild/rosapps/notevil/notevil.c?rev=30280&r1=30279&r2=30280&view=diff
==============================================================================
--- branches/rbuild/rosapps/notevil/notevil.c (original)
+++ branches/rbuild/rosapps/notevil/notevil.c Thu Nov  8 23:31:18 2007
@@ -30,7 +30,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <tchar.h>
-#include "resource.h"
 #include "autocontributors.h"
 
 LPCTSTR app_name = _TEXT("notevil");
@@ -88,31 +87,6 @@
 }
 #endif /* def DISPLAY_COORD */
 
-
-INT
-GetNextString(
-    LPTSTR  Buffer,
-    INT     BufferSize,
-    DWORD   *Index)
-{
-    if (RES_LAST_INDEX == *Index)
-    {
-        *Index = RES_FIRST_INDEX;
-    }
-    else
-    {
-        ++*Index;
-    }
-    LoadString(
-        myself,
-        *Index,
-        Buffer,
-        BufferSize);
-
-    return 0;
-}
-
-
 VOID
 DisplayTitle(VOID)
 {

Modified: branches/rbuild/rosapps/notevil/notevil.rbuild
URL: http://svn.reactos.org/svn/reactos/branches/rbuild/rosapps/notevil/notevil.rbuild?rev=30280&r1=30279&r2=30280&view=diff
==============================================================================
--- branches/rbuild/rosapps/notevil/notevil.rbuild (original)
+++ branches/rbuild/rosapps/notevil/notevil.rbuild Thu Nov  8 23:31:18 2007
@@ -1,6 +1,5 @@
 <module name="notevil" type="win32cui" installbase="system32" installname="notevil.exe">
 	<include base="notevil">.</include>
-	<define name="__USE_W32API" />
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<library>kernel32</library>

Modified: branches/rbuild/rosapps/notevil/readme.txt
URL: http://svn.reactos.org/svn/reactos/branches/rbuild/rosapps/notevil/readme.txt?rev=30280&r1=30279&r2=30280&view=diff
==============================================================================
--- branches/rbuild/rosapps/notevil/readme.txt (original)
+++ branches/rbuild/rosapps/notevil/readme.txt Thu Nov  8 23:31:18 2007
@@ -1,4 +1,4 @@
-$Id: readme.txt,v 1.1 1999/05/15 07:23:34 ea Exp $
+$Id$
 
 ReactOS Coders Console Parade
 -----------------------------
@@ -9,9 +9,7 @@
 "not evil" in the text box.
 
 To add a new name, add a new string in the
-resource script notevil.rc (string index numbers must be
-unique) and edit resource.h to update minimum and 
-maximum indices.
+contributors.rbuild file
 
 Eventually run make.
 

Removed: branches/rbuild/rosapps/notevil/resource.h
URL: http://svn.reactos.org/svn/reactos/branches/rbuild/rosapps/notevil/resource.h?rev=30279&view=auto
==============================================================================
--- branches/rbuild/rosapps/notevil/resource.h (original)
+++ branches/rbuild/rosapps/notevil/resource.h (removed)
@@ -1,2 +1,0 @@
-#define RES_FIRST_INDEX 1
-#define RES_LAST_INDEX  51




More information about the Ros-diffs mailing list