[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-cvs
Subject: [ jEdit-commits ] SF.net SVN: jedit: [12021]
From: eyebex () users ! sourceforge ! net
Date: 2008-02-26 12:16:14
Message-ID: E1JTyjG-0006EY-AC () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]
Revision: 12021
http://jedit.svn.sourceforge.net/jedit/?rev=12021&view=rev
Author: eyebex
Date: 2008-02-26 04:16:14 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
Delete unused file which probably was a left-over jdiff test file.
Removed Paths:
-------------
jEditLauncher/trunk/src/diff.diff
Deleted: jEditLauncher/trunk/src/diff.diff
===================================================================
--- jEditLauncher/trunk/src/diff.diff 2008-02-26 12:13:21 UTC (rev 12020)
+++ jEditLauncher/trunk/src/diff.diff 2008-02-26 12:16:14 UTC (rev 12021)
@@ -1,60 +0,0 @@
-Index: jdiff.cpp
-===================================================================
---- jdiff.cpp (revision 70)
-+++ jdiff.cpp (working copy)
-@@ -12,14 +12,33 @@
-
- #define J_LOG_SOURCE "jdiff.exe"
-
-+// jedit.exe can be build as either a "windows app"
-+// or a console app. Comment this out to compile
-+// as a console app.
-+#define BUILD_WIN32_APP
-+
- const char* USAGE =
- "Usage: jdiff.exe [-h] file1 file2\n";
-
-
-+#ifdef BUILD_WIN32_APP
-+int
-+WINAPI WinMain(HINSTANCE hInstance,
-+ HINSTANCE hPrevInstance,
-+ LPSTR lpCmdLine,
-+ int nCmdShow)
-+#else
- int
--main(int argc,
-+main(int argc,
- char** argv)
-+#endif
- {
-+ #ifdef BUILD_WIN32_APP
-+ // avoid having to parse lpCmdLine if
-+ // compiling as windows app
-+ int argc = __argc;
-+ char** argv = __argv;
-+ #endif
- LaunchConfig config;
- char file1[MAX_PATH] = {'\0'};
- char file2[MAX_PATH] = {'\0'};
-@@ -33,12 +52,20 @@
- strcmp(argv[1], "/?") == 0 ||
- strcmp(argv[1], "--help") == 0))
- {
-+#ifdef BUILD_WIN32_APP
-+ MessageBox(NULL, USAGE, "jDiff Usage", MB_OK);
-+#else
- printf(USAGE);
-+#endif
- exit(0);
- }
- else if(argc != 3)
- {
-+#ifdef BUILD_WIN32_APP
-+ MessageBox(NULL, USAGE, "jDiff Usage", MB_OK);
-+#else
- printf(USAGE);
-+#endif
- exit(2);
- }
-
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic