Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
G
geany
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ç
Batuhan Osman TASKAYA
geany
Commits
bc7e64f7
Kaydet (Commit)
bc7e64f7
authored
Agu 04, 2017
tarafından
Matthew Brush
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix message formatting string
üst
f90ebafe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
sciwrappers.c
src/sciwrappers.c
+11
-5
No files found.
src/sciwrappers.c
Dosyayı görüntüle @
bc7e64f7
...
...
@@ -56,9 +56,6 @@ sptr_t sci_send_message_internal (const gchar *file, guint line, ScintillaObject
if
(
status
!=
0
)
{
static
const
gchar
*
fmt
=
"%s:%u: scintilla has non-zero status "
"code '%d' after sending message '%u' to instance '%p' with "
"wParam='%llu' and lParam='%llu': %s"
;
const
gchar
*
sub_msg
=
"unknown"
;
switch
(
status
)
{
...
...
@@ -78,10 +75,19 @@ sptr_t sci_send_message_internal (const gchar *file, guint line, ScintillaObject
sub_msg
=
"unknown failure"
;
break
;
}
#define SCI_STATUS_FORMAT_STRING "%s:%u: scintilla has non-zero status " \
"code '%d' after sending message '%u' to instance '%p' with " \
"wParam='%lu' and lParam='%ld': %s"
if
(
status
>=
SC_STATUS_WARN_START
)
g_warning
(
fmt
,
file
,
line
,
status
,
msg
,
(
gpointer
)
sci
,
wparam
,
lparam
,
sub_msg
);
{
g_warning
(
SCI_STATUS_FORMAT_STRING
,
file
,
line
,
status
,
msg
,
(
gpointer
)
sci
,
wparam
,
lparam
,
sub_msg
);
}
else
g_critical
(
fmt
,
file
,
line
,
status
,
msg
,
(
gpointer
)
sci
,
wparam
,
lparam
,
sub_msg
);
{
g_critical
(
SCI_STATUS_FORMAT_STRING
,
file
,
line
,
status
,
msg
,
(
gpointer
)
sci
,
wparam
,
lparam
,
sub_msg
);
}
}
return
result
;
...
...
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