Originally Posted by anakod
Thanks for the reply. License is freeware. I'm thinking about opening the code.
In my code I'm using tinydir
and two methods from Leafpad (keyboard open & close).
tinydir uses the MIT license (see link you provided, file: COPYING).
leafpad is GPL-v2, so as long as you are using leafpad code in your sources, yours is GPL-v2 also.
If you write your own replacement for those two parts of leafpad, then you could licensed it under the MIT license.
But you **can not** use GPL-v2 code without providing the source or re-license it as "freeware".
This site has firm guidelines about posting/using copyrighted materials in conflict with their license.