[Github-comments] [geany/geany] Changed default title length from 30 to 80. (#2335)

AdamDanischewski notifications at xxxxx
Thu Oct 3 14:47:41 UTC 2019


@elextr: 

> There may be lots of complicated things that could be done here, but hey if a fixed 30 has worked for most people to date then a fixed 80 is no worse.


@elextr Thanks, my sentiments exactly. 

Eventually the hardcoded value could/should probably be moved to a defined constant. Maybe a refactoring beautification PR? 

FYI: this value is hardcoded twice, it's also in document.c:
```
419	if (length < 0)
420		length = 30;

```
I left it 30 since a filename length less than zero probably doesn't need 80. 



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2335#issuecomment-537978528
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191003/90bea1f7/attachment.html>


More information about the Github-comments mailing list