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
de6e2957
Kaydet (Commit)
de6e2957
authored
May 04, 2011
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
removed dead code
üst
771799c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
splashx.c
desktop/unx/source/splashx.c
+0
-15
No files found.
desktop/unx/source/splashx.c
Dosyayı görüntüle @
de6e2957
...
@@ -144,18 +144,6 @@ int splash_load_bmp( const char *filename )
...
@@ -144,18 +144,6 @@ int splash_load_bmp( const char *filename )
width
=
png_get_image_width
(
png_ptr
,
info_ptr
);
width
=
png_get_image_width
(
png_ptr
,
info_ptr
);
height
=
png_get_image_height
(
png_ptr
,
info_ptr
);
height
=
png_get_image_height
(
png_ptr
,
info_ptr
);
#if 0
{
int i,j;
for (j = 0; j < height; j++) {
for (i = 0; i < width*3; i++) {
fprintf (stderr, "%.2x", bitmap_rows[j][i]);
}
fprintf (stderr, "\n");
}
}
#endif
return
1
;
return
1
;
}
}
#else
#else
...
@@ -173,8 +161,6 @@ int splash_load_bmp( const char *filename )
...
@@ -173,8 +161,6 @@ int splash_load_bmp( const char *filename )
if
(
read
(
fd
,
file_header
,
BMP_HEADER_LEN
)
!=
BMP_HEADER_LEN
||
file_header
[
0
]
!=
'B'
||
file_header
[
1
]
!=
'M'
)
if
(
read
(
fd
,
file_header
,
BMP_HEADER_LEN
)
!=
BMP_HEADER_LEN
||
file_header
[
0
]
!=
'B'
||
file_header
[
1
]
!=
'M'
)
LOAD_FAILURE
(
"Not a bitmap.
\n
"
);
LOAD_FAILURE
(
"Not a bitmap.
\n
"
);
/* int file_size = UINT32( file_header + 2 ); */
char
info_header
[
WIN_INFO_LEN
];
char
info_header
[
WIN_INFO_LEN
];
if
(
read
(
fd
,
info_header
,
4
)
!=
4
)
if
(
read
(
fd
,
info_header
,
4
)
!=
4
)
LOAD_FAILURE
(
"Unable to read the header.
\n
"
);
LOAD_FAILURE
(
"Unable to read the header.
\n
"
);
...
@@ -582,7 +568,6 @@ static void process_events()
...
@@ -582,7 +568,6 @@ static void process_events()
{
{
num_events
--
;
num_events
--
;
XNextEvent
(
display
,
&
xev
);
XNextEvent
(
display
,
&
xev
);
//process_event(xev);
}
}
}
}
...
...
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