id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2544	search string with leading space	victor-homyakov	slavazanko	"**What version of Midnight Commander is used?**

$ mc -V
GNU Midnight Commander, версия 4.7.5
Скомпилирован с библиотекой GLib версии  2.20.1
С библиотекой S-Lang и с базой данных terminfo
Со встроенным редактором
C поддержкой внутренней командной оболочки
С поддержкой фоновых операций
С поддержкой мыши в xterm
С поддержкой событий X11
С поддержкой интернационализации
С поддержкой многих кодировок
Виртуальная файловая система: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Тип данных: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;

**What steps will reproduce the problem?**
1. View some text (log) file (F3), or edit (F4).
2. Open search dialog (F7).
3. Enter string **starting with space** and ending with space (I used "" ERROR "" without quotes), press Enter
4. Press F7 to open search dialog again.

**What is the expected output?**
Original string in search dialog ("" ERROR "" without quotes)

**What do you see instead?**
""ERROR "" (without leading space!)
"	defect	closed	major	4.8.0-pre1	mc-config-ini	4.7.5	fixed		gotar@…			merged	committed-master committed-stable
