Author: pschweitzer
Date: Tue Dec 25 01:47:23 2007
New Revision: 31425
URL:
http://svn.reactos.org/svn/reactos?rev=31425&view=rev
Log:
- If there's a slash at the end of the entered path, it's removed
- Updated Changelog
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c
trunk/tools/RosBE/RosBE-Windows/Tools/config/options.h
Modified: trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Cha…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt Tue Dec 25 01:47:23 2007
@@ -1,7 +1,11 @@
*** XXX XXth, 2008 - RosBE 1.2 Released
- Updated RosBE Configuration Tool. (Pierre Schweitzer)
- - Removed an used var. (Pierre Schweitzer)
+ - Removed an used var (Pierre Schweitzer)
+ - Removed magic value use (Pierre Schweitzer)
+ - Deactivated temporarily pidl work because of unwanted effects (Pierre Schweitzer)
+ - Fixed the a bug : user can now enter the path in browse dialog, and it will be used
(if correct) (Pierre Schweitzer)
+ - If there's a slash at the end of the entered path, it's removed (Pierre
Schweitzer)
- Added a "all" switch to clean.cmd to do both jobs, deleting Compiler Output
AND Logs in one process. (Daniel Reimer)
- Add a macro file for the MinGW prompt and add SCUT to this macro file (Colin Finck)
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c Tue Dec 25 01:47:23 2007
@@ -261,11 +261,15 @@
{
WCHAR BoxMsg[256], BoxTitle[128];
HWND hwndParent;
+ INT PathLen;
hwndParent = GetWindow(Dlg, GW_OWNER);
LoadString(hInstance, MSG_WARNINGBOX, BoxTitle, 128);
LoadString(hInstance, MSG_INVALIDDIR, BoxMsg, 256);
if (MessageBox(Dlg, BoxMsg, BoxTitle, MB_ICONWARNING | MB_YESNO) == IDYES)
{
+ PathLen = wcslen((LPWSTR)wParam);
+ if (wcscmp((LPWSTR)wParam+PathLen, L"\\"))
+ wcsset((LPWSTR)wParam+(PathLen-1), '\0');
if (CreateDirectory((LPWSTR)wParam, NULL) == 0)
{
LoadString(hInstance, MSG_DIREFAILED, BoxMsg, 256);
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/options.h
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/options.h (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/options.h Tue Dec 25 01:47:23 2007
@@ -36,3 +36,5 @@
BOOL outstate;
}
SETTINGS, *PSETTINGS;
+
+wchar_t *wcsset(wchar_t *string, wchar_t c);