projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
796ec35
)
Merge of Wine commit:
author
Martin Fuchs
<fuchs.martin@gmail.com>
Sat, 27 Mar 2004 09:16:08 +0000
(09:16 +0000)
committer
Martin Fuchs
<fuchs.martin@gmail.com>
Sat, 27 Mar 2004 09:16:08 +0000
(09:16 +0000)
Martin Fuchs <martin-fuchs@gmx.net>
Implementation of IPersistFile::IsDirty().
svn path=/trunk/; revision=8885
reactos/lib/shell32/shelllink.c
patch
|
blob
|
history
diff --git
a/reactos/lib/shell32/shelllink.c
b/reactos/lib/shell32/shelllink.c
index
4cc02c2
..
cb2e88e
100644
(file)
--- a/
reactos/lib/shell32/shelllink.c
+++ b/
reactos/lib/shell32/shelllink.c
@@
-241,6
+241,7
@@
static HRESULT WINAPI IPersistFile_fnLoad(IPersistFile* iface, LPCOLESTR pszFile
r = IPersistStream_Load(StreamThis, stm);
ShellLink_UpdatePath(This->sPathRel, pszFileName, This->sWorkDir, &This->sPath);
IStream_Release( stm );
+ This->bDirty = TRUE;
}
return r;
@@
-297,7
+298,11
@@
static HRESULT WINAPI IPersistFile_fnSave(IPersistFile* iface, LPCOLESTR pszFile
IStream_Release( stm );
if( SUCCEEDED( r ) )
+ {
StartLinkProcessor( pszFileName );
+
+ This->bDirty = FALSE;
+ }
else
{
DeleteFileW( pszFileName );