Cleaning Up CFile

Incorporating the changes in PR #2596 
Configure your editor so that it shows you non printable characters. The
editor probably inserted white space characters where we normally use tabs.

On 21 November 2014 09:45, Abhinav Agarwalla <notifications@github.com>
wrote:

> In src/shogun/io/File.cpp:
>
> > +void CFile::get_string_list(										\
> > +		SGString<type>*& strings, int32_t& num_str,					\
> > +		int32_t& max_string_len)									\
> > +{																	\
> > +	SGString<int8_t>* strs;											\
> > +	get_string_list(strs, num_str, max_string_len);					\
> > +																	\
> > +	ASSERT(num_str>0 && max_string_len>0)							\
> > +	strings=SG_MALLOC(SGString<type>, num_str);						\
> > +																	\
> > +	for(int32_t i = 0;i < num_str;i++)								\
> > +	{																\
> > +		strings[i].slen = strs[i].slen;								\
> > +                strings[i].string = SG_MALLOC(type, strs[i].slen);	\
> > +		for(int32_t j = 0;j < strs[i].slen;j++)						\
> > +		strings[i].string[j] = strs[i].string[j] != 0 ? 1 : 0;		\
>
> Indentation is completely fine in my editor. I am not sure why git is
> messing it up. Will look for a solution and update.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/shogun-toolbox/shogun/pull/2616/files#r20703820>.
>