Fix for icons removal 46/47246/2
authorWojciech Kosowicz <w.kosowicz@samsung.com>
Tue, 1 Sep 2015 09:59:35 +0000 (11:59 +0200)
committerPawel Sikorski <p.sikorski@samsung.com>
Tue, 1 Sep 2015 12:35:14 +0000 (05:35 -0700)
Change-Id: Ice26c64aa6fe02c9151b9a639ad85a8d95e8088d

src/common/step/step_create_icons.cc

index 0e0779a..c2f0974 100644 (file)
@@ -37,7 +37,7 @@ Step::Status StepCreateIcons::process() {
       bf::path source = GetIconRoot() / ui->icon->text;
       if (bf::exists(source)) {
         bf::path destination = icons_directory / ui->appid;
-        if (destination.has_extension())
+        if (source.has_extension())
           destination += source.extension();
         else
           destination += ".png";