Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
45a222a7
Kaydet (Commit)
45a222a7
authored
Mar 27, 2012
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix number of chars in strncmp after OpenOffice.org->LibreOffice change
üst
935150a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reg4allmsi.cxx
...ve/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx
+2
-2
No files found.
setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx
Dosyayı görüntüle @
45a222a7
...
@@ -117,7 +117,7 @@ static BOOL CheckExtensionInRegistry( LPCSTR lpSubKey )
...
@@ -117,7 +117,7 @@ static BOOL CheckExtensionInRegistry( LPCSTR lpSubKey )
{
// We will replace registration for word pad
{
// We will replace registration for word pad
bRet
=
true
;
bRet
=
true
;
}
}
else
if
(
strncmp
(
szBuffer
,
"LibreOffice."
,
1
5
)
==
0
)
else
if
(
strncmp
(
szBuffer
,
"LibreOffice."
,
1
2
)
==
0
)
{
// We will replace registration for our own types, too
{
// We will replace registration for our own types, too
bRet
=
true
;
bRet
=
true
;
}
}
...
@@ -330,7 +330,7 @@ static void saveOldRegistration( LPCSTR lpSubKey )
...
@@ -330,7 +330,7 @@ static void saveOldRegistration( LPCSTR lpSubKey )
szBuffer
[
nSize
]
=
'\0'
;
szBuffer
[
nSize
]
=
'\0'
;
// No need to save assocations for our own types
// No need to save assocations for our own types
if
(
strncmp
(
szBuffer
,
"LibreOffice."
,
1
5
)
!=
0
)
if
(
strncmp
(
szBuffer
,
"LibreOffice."
,
1
2
)
!=
0
)
{
{
// Save the old association
// Save the old association
RegSetValueExA
(
hKey
,
"OOoBackupAssociation"
,
0
,
RegSetValueExA
(
hKey
,
"OOoBackupAssociation"
,
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment