Author: hbelusca
Date: Sun Jan 18 13:11:35 2015
New Revision: 66050
URL: http://svn.reactos.org/svn/reactos?rev=66050&view=rev
Log:
[CDMAKE]: Remove potential trailing dir-separator characters at the end of the directory, in case e.g. we build up something like: "bootcd\\somefile.ext" in the boot/livecd.lst files (--> I want a directory "bootcd" and a file "somefile.ext", instead of the directory "bootcd\", otherwise the ISO becomes broken. Notice that when the path is "bootcd\somefile.ext the existing code worked ok. That's why I want to strip the remaining backslashes).
Modified:
trunk/reactos/tools/cdmake/dirhash.c
Modified: trunk/reactos/tools/cdmake/dirhash.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cdmake/dirhash.c?rev…
==============================================================================
--- trunk/reactos/tools/cdmake/dirhash.c [iso-8859-1] (original)
+++ trunk/reactos/tools/cdmake/dirhash.c [iso-8859-1] Sun Jan 18 13:11:35 2015
@@ -107,6 +107,11 @@
}
}
filename[tgt] = 0;
+
+ while (tgt && (filename[--tgt] == DIR_SEPARATOR_CHAR))
+ {
+ filename[tgt] = 0;
+ }
}
struct target_dir_entry *
Author: jimtabor
Date: Sat Jan 17 00:31:19 2015
New Revision: 66044
URL: http://svn.reactos.org/svn/reactos?rev=66044&view=rev
Log:
[User32]
- Alt-Tab Use windows logo icon as default. Patch from CORE-7864 #resolve
Modified:
trunk/reactos/win32ss/user/user32/controls/appswitch.c
Modified: trunk/reactos/win32ss/user/user32/controls/appswitch.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/contro…
==============================================================================
--- trunk/reactos/win32ss/user/user32/controls/appswitch.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/controls/appswitch.c [iso-8859-1] Sat Jan 17 00:31:19 2015
@@ -121,8 +121,13 @@
hIcon = (HICON)SendMessageW(window, WM_GETICON, ICON_SMALL2, 0);
if (!hIcon)
{
- // If all fails, give up and continue with the next window
- return TRUE;
+ // using windows logo icon as default
+ hIcon = gpsi->hIconWindows;
+ if (!hIcon)
+ {
+ //if all attempts to get icon fails go to the next window
+ return TRUE;
+ }
}
}
}