* cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27956 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1129,8 +1129,8 @@ ShowImageView::AddSupportedTypes(BMessage* msg, BBitmap* bitmap)
|
|||||||
for (int32 j = 0; j < num_fmts; j++) {
|
for (int32 j = 0; j < num_fmts; j++) {
|
||||||
if (strcmp(fmts[j].MIME, "image/x-be-bitmap") != 0) {
|
if (strcmp(fmts[j].MIME, "image/x-be-bitmap") != 0) {
|
||||||
// needed to send data in message
|
// needed to send data in message
|
||||||
msg->AddString("be:types", fmts[j].MIME);
|
msg->AddString("be:types", fmts[j].MIME);
|
||||||
// needed to pass data via file
|
// needed to pass data via file
|
||||||
msg->AddString("be:filetypes", fmts[j].MIME);
|
msg->AddString("be:filetypes", fmts[j].MIME);
|
||||||
msg->AddString("be:type_descriptions", fmts[j].name);
|
msg->AddString("be:type_descriptions", fmts[j].name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user